MantisBT - ATutor
View Issue Details
0005003ATutorUpgradingpublic2012-06-27 12:162012-07-26 09:59
cindy 
greg 
normalminoralways
closedfixed 
 
2.0.32.1 
SVN
48706a5..0fe43dd atutor_2_0_3-multisite -> atutor_2_0_3-multisite
0005003: Auto calculates modules.privilege and modules.admin_privileges in the upgrade SQL files
The upgrading process deletes the add-on modules from `modules` table because when the new module row gets inserted from the upgrade SQL scripts, the bitwise numbers @ modules.privilege and modules.admin_privileges are sometimes hardcoded.

Modifying these SQL statement to auto calculate these numbers should allow the add-on modules be kept after the upgrade.
No tags attached.
Issue History
2012-06-27 12:16cindyNew Issue
2012-07-10 13:28gregAssigned To => cindy
2012-07-10 13:28gregStatusnew => assigned
2012-07-16 16:07gregNote Added: 0005648
2012-07-17 11:27gregSVN Revision# => 48706a5..0fe43dd atutor_2_0_3-multisite -> atutor_2_0_3-multisite
2012-07-17 11:27gregNote Added: 0005651
2012-07-17 11:27gregStatusassigned => resolved
2012-07-17 11:27gregFixed in Version => 2.1
2012-07-17 11:27gregResolutionopen => fixed
2012-07-17 11:27gregAssigned Tocindy => greg
2012-07-26 09:59gregNote Added: 0005739
2012-07-26 09:59gregStatusresolved => closed

Notes
(0005648)
greg   
2012-07-16 16:07   
is this fixed yet?
(0005651)
greg   
2012-07-17 11:27   
replace hardcoded privilege and admin_privilege bitwise values with max() to take next available
(0005739)
greg   
2012-07-26 09:59   
close for ATutor 2.1