I have been using Moodle 2.0 since RC1 and have been using a glossary for a couple of weeks. I've just upgraded and I get this error message when trying to add a new item.
Any ideas?
No idea, Steve. We need more details. Does this problem only occur in glossaries created prior to latest updating? What about creating a fresh glossary and adding entries? Please experiment some more and report here.
Joseph
Looks like someone has used some SQL that does not work in all the different databases that Moodle supports.
Please file a bug at http://tracker.moodle.org/. Please say which database your Moodle site is using, and copy-and-paste the error message into the bug.
If possible, turn Debugging to DEVELOPER level, and copy and paste any extra information that generates into the bug report too.
I've the same error, shown below with developer level debug. I'm using Moodle 2.0 (20101130) on LAMP (Mysql 5.1.53). Sorry, I've been unable to access tracker.moodle.org to check if the bug had been filed.
---------
This bug has been reported as MDL-25418. It's a real blocker, hope it will be fixed ASAP.
Joseph
EDIT.-
One reason why this bug has escaped QA tests in moodle 2.0 is that it only occurs if a glossary has been set to Duplicate entries allowed: No
Since this is default-set to Yes, no-one detected the bug. Pending bug fix in Moodle 2.0 you can continue to use your glossaries by setting Duplicate entries allowed to YES.
Bug fixed thanks to Eloy Lafuente (stronk7) .
Joseph
Joseph,
Do you mean you can now add entries to glossaries if a glossary has been set to Duplicate entries allowed: No ?
If so, could you ask Eloy Lafuente (stronk7) to share the way the bug was fixed in this topic?
Olga
Olga,
The bug has been fixed in latest release of Moodle 2.0 (Build: 20101213).
You can review the changes in the "bird'eye view" of the tracker here.
Joseph
Thank you!