Bug #8148
closedShuffle doesn't work correctly on hotspot questions
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
Updated by Yannick Warnier about 7 years ago
- Status changed from New to Assigned
- Assignee set to Angel Quiroz
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
Updated by Yannick Warnier about 7 years ago
Jurgen, any chance you would have an opportunity to test this?
Updated by Yannick Warnier about 7 years ago
- File dont-show-area.png dont-show-area.png added
- Status changed from Needs testing to Assigned
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.
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)
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
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
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.