Closed Bug 468090 Opened 16 years ago Closed 16 years ago

kb search on the sumo front page only works when logged in

Categories

(support.mozilla.org :: Knowledge Base Software, task)

task
Not set
blocker

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: marien.zwart, Assigned: nkoth)

References

()

Details

Attachments

(3 obsolete files)

When I go to kb search on http://support.mozilla.com/en-US/kb/Firefox+Support+Home+Page and enter some search terms I get a not very helpful "Error: You do not have permission to use this feature" page. After logging in the search works. This is probably not intentional (and should be made a bit more obvious if it is).
Assignee: nobody → nelson
Severity: major → blocker
OS: Linux → All
Priority: -- → P1
Hardware: PC → All
Tried it when logged in. Switched the newsearch off in tiki-admin_newsearch.php and it works, but need cache flushing for fix to show for public users. It could be that an admin turned on the "newsearch redirect" to test the newsearch (which is accessible only to admins) And during that time, a public user went to the site and cached the page that had the redirect turned on.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Seems to have gone away.
Status: REOPENED → RESOLVED
Closed: 16 years ago16 years ago
Resolution: --- → FIXED
Verified!
Status: RESOLVED → VERIFIED
The problem seems to have reappeared, when I use the search on the SUMO main page, the error message "Error: You do not have permission to use this feature" is displayed. When I'm logged in, the search function works as expected.
Nelson, if you can't work out why this keeps happening, you're going to have to patch the template file and we'll do an off schedule push. I'd say just take the logic out until we get search finalized. Interestingly, I note the homepage is *not* getting served from the NS so there's more than one strange thing going on.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Attached patch Don't ever use newsearch. (obsolete) — Splinter Review
Attachment #351689 - Flags: review?(nelson)
Attachment #351689 - Flags: review?(morgamic)
Comment on attachment 351689 [details] [diff] [review] Don't ever use newsearch. Requesting add'l review from morgamic in case nelson isn't around.
I added temporary javascript to Firefox+Support+Home+Page to fix this bug until this can be pushed to production. When this bug is fixed, my edit to the home page should be reverted.
Attachment #351689 - Flags: review?(nelson) → review+
Comment on attachment 351689 [details] [diff] [review] Don't ever use newsearch. Is <input type="hidden" name="where" value="f" /> part needed?
Attachment #351689 - Flags: review+ → review-
(In reply to comment #10) > I can't reproduce this anymore. see c#8, there was temp JS added to the front page as a stopgap for the broken UX that resulted.
Attached patch revised patch (obsolete) — Splinter Review
Attachment #351689 - Attachment is obsolete: true
Attachment #351867 - Flags: review?(nelson)
Attachment #351689 - Flags: review?(morgamic)
Attached patch doh, correct revised patch (obsolete) — Splinter Review
Attachment #351867 - Attachment is obsolete: true
Attachment #351868 - Flags: review?(nelson)
Attachment #351867 - Flags: review?(nelson)
Attachment #351868 - Attachment is obsolete: true
Attachment #351868 - Flags: review?(nelson)
Comment on attachment 351868 [details] [diff] [review] doh, correct revised patch I have a better idea. See patch in https://bugzilla.mozilla.org/attachment.cgi?id=352096
This is temporarily fixed by zzxc's js, and will be obsolete after we push 0.8.
Status: REOPENED → RESOLVED
Closed: 16 years ago16 years ago
Priority: P1 → --
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: