Search with no keywords from home page displays a Warning Message

VERIFIED FIXED in 3.0

Status

VERIFIED FIXED
10 years ago
7 years ago

People

(Reporter: aakashd, Unassigned)

Tracking

unspecified

Details

Attachments

(2 attachments)

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2a1pre) Gecko/20090211 Minefield/3.2a1pre
Build Identifier: spreadfirefox.com 3.0

The issue can be seen in the attached screenshot or in-line this bug below. This only occurs when a user searches without any keywords from the homepage. If the same search is done through that error page, then only the "




    * warning: Invalid argument supplied for foreach() in /data/www/spreadfirefox.authstage.mozilla.com/sites/all/themes/sfxBB/page-front.tpl.php on line 10.
    * Please enter some keywords.




Reproducible: Always

Steps to Reproduce:
1. Go to https://spreadfirefox.authstage.mozilla.com/
2. Click on the search button without any keywords entered
Actual Results:  
The exception seen in the screenshot and below is displayed.



    * warning: Invalid argument supplied for foreach() in /data/www/spreadfirefox.authstage.mozilla.com/sites/all/themes/sfxBB/page-front.tpl.php on line 10.
    * Please enter some keywords.



Expected Results:  
Only the "Please enter some keywords." should be displayed.
(Reporter)

Comment 1

10 years ago
Created attachment 362814 [details]
Search Results Screenshot
Thanks, Aakash!; Alex, do you want us filing these, or will you get to them soon enough?
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: x86 → All
Target Milestone: --- → 3.0

Comment 3

10 years ago
Created attachment 364305 [details] [diff] [review]
fixes the warning message
Attachment #364305 - Flags: review?(buchanae)
Comment on attachment 364305 [details] [diff] [review]
fixes the warning message

didn't fix the problem
Attachment #364305 - Flags: review?(buchanae) → review-
r22740
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
(Reporter)

Comment 6

10 years ago
Verified FIXED
Status: RESOLVED → VERIFIED
Product: Websites → Websites Graveyard
You need to log in before you can comment on or make changes to this bug.