[Fixed] Bug with Questionnaire 2.4 and Moodle 2.5.1

[Fixed] Bug with Questionnaire 2.4 and Moodle 2.5.1

by Pascal Maury -
Number of replies: 2
Picture of Plugin developers

I think I found a bug : 

Moodle 2.5.1+
Questionnaire 2.4+ (2013062002)

In a closed course, I have a closed "questionnaire". The first tab to display is "View". Here is the bug : I cannot clic (deploy/undeploy) any tree in the menus because there is a javascript error :

Error : TypeError: Y.one(...) is null
File : http://moodle.u-paris.fr/lib/javascript.php/1377772749/question/qengine.js
Line : 2

I tried with 3 themes : 
- our specific theme (based on Leatherbound theme)
- Standard theme
- Clean theme

The problem seems to come from the file question/qengine.js, so I guess the problem is about the mod questionnaire ... ?

NB :
- I added a screen capture
- no problem if the "questionnaire" is opened
- the ">" in the menus are like "disabled"

Pascal

(Edited by Joseph Rézeau - original submission Thursday, 29 August 2013, 3:19 PM)

Attachment Bug Questionnaire.png
Average of ratings: -
In reply to Pascal Maury

Re: Bug with Questionnaire 2.4 and Moodle 2.5.1

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Thanks for reporting this bug, Pascal. I will look at it. Opened issue CONTRIB-4592 in the tracker for this.

Joseph

EDIT.- Fixed both on the github and the plugins repository. Please upgrade your Questionnaire to version 2.4.2 (Build - 2013062003).