Project

General

Profile

Bug #8148

Shuffle doesn't work correctly on hotspot questions

Added by Jurgen Gaeremyn about 3 years ago. Updated about 3 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
Category:
Exercises
Target version:
Start date:
18/03/2016
Due date:
% Done:

100%

Estimated time:
Spent time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

Hi,

when creating a hotspot question in an exercise that shuffles the answers, the list with items isn't shuffled when perfoming the test, but I tihnk it is in the system. This causes the exercise to fail big time.

I've create a small movie showing the effect:
https://youtu.be/3V1xkevNq8c

(Disclaimer: I'm running a Dutch Chamilo, sorry if the terminology is sometimes off)

How to recreate:
1. Create an exercise
2. Go to the advanced settings
3. Change the radio button "shuffle answers" to "yes"
4. Click "continue to questions" button at the bottom
5. Click on "new hotspot question" (6th icon)
6. Upload an image (whatever image)
7. Create 4 hotspots or more. (be sure to give them a meaningful name, you have to remember the order)
8. Draw the 4 hotspots on your image
9. Add question to exercise (3rd button)
10. Run the test in preview mode.

When answering the test... you get everything wrong (I do anyway).


Files

dont-show-area.png (131 KB) dont-show-area.png Yannick Warnier, 22/03/2016 18:46

Associated revisions

Revision e86630ac (diff)
Added by Angel Fernando Quiroz Campos about 3 years ago

Fix shuffle with hotspot question - refs #8148

Revision d3b4fd28 (diff)
Added by Angel Fernando Quiroz Campos about 3 years ago

Fix shuffle with hotspot question - refs #8148

Revision 70ce3145 (diff)
Added by Angel Fernando Quiroz Campos about 3 years ago

Fix shuffle with hotspot question - refs #8148

Revision 084dcfb1 (diff)
Added by Angel Fernando Quiroz Campos about 3 years ago

Fix hotspot questions when Practice Mode is enable - refs #8148

Revision a7061494 (diff)
Added by Angel Fernando Quiroz Campos about 3 years ago

Fix hotspot questions when Practice Mode is enable - refs #8148

Revision bdab9110 (diff)
Added by Angel Fernando Quiroz Campos about 3 years ago

Fix hotspot questions when Practice Mode is enable - refs #8148

History

#1

Updated by Yannick Warnier about 3 years ago

  • Status changed from New to Assigned
  • Assignee set to Angel Quiroz
#2

Updated by Angel Quiroz about 3 years ago

  • Status changed from Assigned to Needs testing
  • Assignee deleted (Angel Quiroz)
  • % Done changed from 0 to 80

Fixed
e86630a

#3

Updated by Yannick Warnier about 3 years ago

Jurgen, any chance you would have an opportunity to test this?

#4

Updated by Yannick Warnier about 3 years ago

Angel, I checked the shuffle answers and it's all good.

But when selecting the option "Practice mode: Show score only, by category if at least one is used", normally, you should not show the area that has to be clicked in the answers at the end. Only show the answer by the student and say if correct or not.

#5

Updated by Yannick Warnier about 3 years ago

  • Assignee set to Angel Quiroz
#6

Updated by Jurgen Gaeremyn about 3 years ago

Hi Yannick,

sure. I'm just having issues having it running on my computer...
(migrating to a different server isn't that easy)

Could you guide me to a step-by-step on what I should tweak when moving to a different server? (different webroot, different MySQL account, possibly slightly different PHP version)

#7

Updated by Angel Quiroz about 3 years ago

  • Status changed from Assigned to Needs testing
  • Assignee deleted (Angel Quiroz)

But when selecting the option "Practice mode: Show score only, by category if at least one is used", normally, you should not show the area that has to be clicked in the answers at the end. Only show the answer by the student and say if correct or not.

Fixed 084dcfb

#8

Updated by Yannick Warnier about 3 years ago

  • Status changed from Needs testing to Bug resolved
  • Assignee set to Angel Quiroz
  • % Done changed from 80 to 100

Tested and approved

#9

Updated by Yannick Warnier about 3 years ago

Jurgen Gaeremyn wrote:

Hi Yannick,

sure. I'm just having issues having it running on my computer...
(migrating to a different server isn't that easy)

Could you guide me to a step-by-step on what I should tweak when moving to a different server? (different webroot, different MySQL account, possibly slightly different PHP version)

That goes a little out of scope here, but you can always test our latest developments for this branch on https://unstable.chamilo.org/ about 15 minutes after they are sent.

Changing a Chamilo install from one server to another is mainly a matter of updating the first 54 lines of app/config/configuration.php and making sure they're matching the new context.

#10

Updated by Jurgen Gaeremyn about 3 years ago

Nice job! it seems to work...

Also available in: Atom PDF