Closed (fixed)
Project:
Quiz
Version:
6.x-3.0
Component:
Code - Quiz module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
23 Jun 2009 at 10:39 UTC
Updated:
26 Jun 2009 at 15:06 UTC
No questions is listed, when using the autocomplete field for adding questions to the feed.
Added a patch file that will fix this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| quiz.admin_.inc_.patch | 685 bytes | maximiliam |
Comments
Comment #1
mbutcher commentedAm I correct in reading the patch as simply removing the db_rewrite_sql()?
The idea with using db_rewrite_sql() is that we want to give other modules a chance to intercept the SQL and alter it before it is run. This is a desirable feature, so I am reluctant to take it out unless I am sure that it is causing a bug.
It sounds like maybe something else is intercepting the SQL and altering it -- perhaps some other module.
Are you running one of the translation systems that might be rewriting SQL?
Comment #2
maximiliam commentedYes, I run a translation system, and it was set to only use nodes in the current language, but the questions don't have language. When I set it to also include language neutral nodes it works.
Thank you for the tip.
Comment #3
mbutcher commentedI'm very glad you did the research to figure this out. Admittedly, I'm not versed enough in the translation system to be able to solve problems like this very effectively. So I'm sure this issue will be helpful for others.
Thanks,
Matt