When I search for pages to which I don't have permission as a user, I get plenty of warnings in many pages, one after another. For example, when I search for the word "question", I get 5 pages, each one with logos, blocks, etc. Only in the last page I see the results of the search. "Question" is a word that is in many quiz questions, to which users can't access because the quiz is available only some specific days, so if I type the url of a question, I get Access denied. When I set Drupal to write error only to the log, and not the screen in "Administer > Site configuration> Error reporting", I don't get the warnings but only the "Access denied" pages.
I have no problems when I search for the word "question" as admin.
I uploaded a picture of the warning and the 5th page.
If users can't search for terms inside not allowed pages, "search" shouldn't show warnings. I haven't found threads similar to this problem, is it only happening to me?
Thanks
Yersin
| Comment | File | Size | Author |
|---|---|---|---|
| 5th_page_search.png | 61.56 KB | yersin | |
| access_denied_search.png | 32.21 KB | yersin |
Comments
Comment #1
catchThis sounds like a bug with the way quiz module is handling access to nodes based on dates. If I'm wrong please send it back to core though :)
Comment #2
mbutcher commentedDowngraded to minor because it sounds like a configuration issue for search. Quiz questions should probably not be returned from search results.
Comment #3
mbutcher commentedQuiz for D5 is no longer supported.