Moodle

Short answer questions in lesson module mistakes correct answers as incorrect if jump is not directed to the next page

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.6, 1.6.1, 1.6.2, 1.6.3
  • Fix Version/s: 1.8.4
  • Component/s: Lesson
  • Labels:
    None
  • Affected Branches:
    MOODLE_16_STABLE
  • Fixed Branches:
    MOODLE_18_STABLE

Description

Short answer question in lesson module doesn't always interpret answers correctly.

For example, in last page of every branch I set jump (Absolute Jump) from correct answers to Contents (first page in the lesson) to avoid unnecesary pages for the end of branch. I also set mark for the answer to 1. But the lesson module regards these answers as wrong and return students to this page.

Please fix it, because it really misguide students.

Activity

Hide
Mark Nielsen added a comment -

Could you please provide the content of the question and answers/responses used to author the short answer question?

Show
Mark Nielsen added a comment - Could you please provide the content of the question and answers/responses used to author the short answer question?
Hide
Oleg Sychev added a comment -

Well ... content is in Russian. This may be a problem. But answers/responses are in C.
I attach several screenshots of working and non-working questions. As i figure out, the problem only include short answer question (multiple choice behave correctly) and only if they use Absolute Jump.

Show
Oleg Sychev added a comment - Well ... content is in Russian. This may be a problem. But answers/responses are in C. I attach several screenshots of working and non-working questions. As i figure out, the problem only include short answer question (multiple choice behave correctly) and only if they use Absolute Jump.
Hide
Oleg Sychev added a comment -

correct_q.jpg is a short answer question that work correctly.
inclorrect1.jpg is first incorrect question in expanded mode

Show
Oleg Sychev added a comment - correct_q.jpg is a short answer question that work correctly. inclorrect1.jpg is first incorrect question in expanded mode
Hide
Oleg Sychev added a comment -

Here we can see detailed screenshots of the one of the trouble questions.

I select answer and respose to ensure, that they haven't additional spaces.

Show
Oleg Sychev added a comment - Here we can see detailed screenshots of the one of the trouble questions. I select answer and respose to ensure, that they haven't additional spaces.
Hide
Oleg Sychev added a comment -

Some translation to the attachments: "??????????" means 'Contents', it is name of the first page in the lesson.
"????????? ????????" - means 'Next Page'
"??????? ????????" - means 'Current Page'

I try to backup this lesson and send it to you, but some bug in the backup system prevent me from doing this

Show
Oleg Sychev added a comment - Some translation to the attachments: "??????????" means 'Contents', it is name of the first page in the lesson. "????????? ????????" - means 'Next Page' "??????? ????????" - means 'Current Page' I try to backup this lesson and send it to you, but some bug in the backup system prevent me from doing this
Hide
Oleg Sychev added a comment -

I managed to backup lesson with bug.

See the page "?????????? gcc". At least first answer lesson regards as incorrect.

Show
Oleg Sychev added a comment - I managed to backup lesson with bug. See the page "?????????? gcc". At least first answer lesson regards as incorrect.
Hide
Oleg Sychev added a comment -

This is backup of original lesson from the course. To see the bug you must start from the branch table (not from the bug pages directly throught prewiev) and go throught to the page with the short answer question type, wich links to the contents(branch table) page (??????????).

Please comment if you have troubles replicating this bug.

Show
Oleg Sychev added a comment - This is backup of original lesson from the course. To see the bug you must start from the branch table (not from the bug pages directly throught prewiev) and go throught to the page with the short answer question type, wich links to the contents(branch table) page (??????????). Please comment if you have troubles replicating this bug.
Hide
Mark Nielsen added a comment -

Hi Oleg,

I noticed that some of your answers are using > and < Please see this bug: MDL-2006 This has been fixed for Moodle 1.7.1.

I also noticed that some of your answers use an asterisk. An asterisk is used by the short answer question as a wild card. If you want the asterisk to be part of the answer, then use a backslash like this: *

Let me know if these seem to account for your problems.

Cheers,
Mark

Show
Mark Nielsen added a comment - Hi Oleg, I noticed that some of your answers are using > and < Please see this bug: MDL-2006 This has been fixed for Moodle 1.7.1. I also noticed that some of your answers use an asterisk. An asterisk is used by the short answer question as a wild card. If you want the asterisk to be part of the answer, then use a backslash like this: * Let me know if these seem to account for your problems. Cheers, Mark
Hide
Oleg Sychev added a comment -

Escaping * with \ doesn't help. If I write "FILE *fd;" it expects exactly same string (with baklslash) as an answer.

This bug (in question with asterisk) is unstable. In our real lesson all work correctly if I use 'Check question' button from the 'Edit' page (without escaping) , but work incorrectly if I use 'Preview' and go to this page from the branch table (or when students attempt to take a lesson). When I atttempting to recreate bug it sometimes work correctly some time in all modes, than (without editing) stop working for no visible reasons.

Show
Oleg Sychev added a comment - Escaping * with \ doesn't help. If I write "FILE *fd;" it expects exactly same string (with baklslash) as an answer. This bug (in question with asterisk) is unstable. In our real lesson all work correctly if I use 'Check question' button from the 'Edit' page (without escaping) , but work incorrectly if I use 'Preview' and go to this page from the branch table (or when students attempt to take a lesson). When I atttempting to recreate bug it sometimes work correctly some time in all modes, than (without editing) stop working for no visible reasons.
Hide
Oleg Sychev added a comment -

This issue seems to vanish in Moodle 1.8. and it successors, so you can close it.

Show
Oleg Sychev added a comment - This issue seems to vanish in Moodle 1.8. and it successors, so you can close it.
Hide
Mark Nielsen added a comment -

Closing as advised. Thanks for following up!

Show
Mark Nielsen added a comment - Closing as advised. Thanks for following up!

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: