Closed (fixed)
Project:
Quiz
Version:
7.x-4.x-dev
Component:
Code - Quiz core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
14 Sep 2011 at 17:28 UTC
Updated:
3 Jun 2024 at 04:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedI've tracked it down to line 1125 and it's use of MD5(). By switching it to drupal_hash_base64() it will show the current active action.
so this... '#default_value' => MD5($node->aid),
to this... '#default_value' => drupal_hash_base64($node->aid),
Sorry for not supplying a patch... something I need to learn, and I'm aware there is documentation.
Comment #2
henrikakselsen commentedSame problem here, but #1 fixed it.
Made it into a patch here.
Comment #3
drewbe121212 commentedTested fix and confirmed working correctly.
Comment #4
sivaji_ganesh_jojodae commentedAfter the patch I can see the default value preserved however the assigned action doesn't seem to run. I think rules module in the way to go for D7. See #1300420 but I wish to see this module as a separate module works on top of quiz.
Comment #5
drewbe121212 commentedHi Sivaji,
I am correctly getting the assigned action to run. Although, I created a custom action through an extra module.