Comment 3 for bug 902391

Revision history for this message
Nikola Stojanoski (nstojanoski) wrote :

Look at the video.

1. When i select Administrator the active_id / active_ids is 1 as the id of Administrator.
2. When i click on Attendance by Month the active_id/active_ids is 1 and form id is 44
3. When i click Print active_id/active_ids is changed to the value of the form id (in this case 44)

Maybe on your test that was your first form and form id 1 has matched Administrator id 1. Try clicking Print and the form id will increase and you will get the error i'm getting.

Maybe context should be somehow passed to the form and the form should pass that context but in this process active_ids are changed to the value of the form id. Maybe my solution is not very good, but it solves this problem

Regards,
Nikola