Project

General

Profile

Actions

Bug #8148

closed

Shuffle doesn't work correctly on hotspot questions

Added by Jurgen Gaeremyn about 7 years ago. Updated about 7 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
Actions #1

Updated by Yannick Warnier about 7 years ago

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

Updated by Angel Quiroz about 7 years ago

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

Fixed
e86630a

Actions #3

Updated by Yannick Warnier about 7 years ago

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

Actions #4

Updated by Yannick Warnier about 7 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.

Actions #5

Updated by Yannick Warnier about 7 years ago

  • Assignee set to Angel Quiroz
Actions #6

Updated by Jurgen Gaeremyn about 7 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)

Actions #7

Updated by Angel Quiroz about 7 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

Actions #8

Updated by Yannick Warnier about 7 years ago

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

Tested and approved

Actions #9

Updated by Yannick Warnier about 7 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.

Actions #10

Updated by Jurgen Gaeremyn about 7 years ago

Nice job! it seems to work...

Actions

Also available in: Atom PDF