No questions is listed, when using the autocomplete field for adding questions to the feed.

Added a patch file that will fix this issue.

CommentFileSizeAuthor
quiz.admin_.inc_.patch685 bytesmaximiliam

Comments

mbutcher’s picture

Am 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?

maximiliam’s picture

Status: Needs review » Closed (fixed)

Yes, 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.

mbutcher’s picture

Issue tags: +translation, +localization

I'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