Missing cacheversion on upgrade gives errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Low
|
Robert Lyon | ||
16.04 |
Fix Released
|
Low
|
Robert Lyon | ||
16.10 |
Fix Released
|
Low
|
Unassigned |
Bug Description
When upgrading from old version that doesn't have cacheversion set we get this error
[WAR] 21 (lib/htmlpurifi
It doesn't stop the upgrade from progressing, so I'll mark this bug as low priority, but could freak user out when upgrading their sites.
It would be good to allow get_config() function to take a $default value option, similar to how param_alpha() works.
This way we can set a default value before the upgrade sets the correct value
So I'm thinking get_config(
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for master: https:/ /reviews. mahara. org/#/c/ 6359/