Username Password
Bookmark and Share
View All Tickets
upgrade script always removes specialState   (#11938)

In the upgrade script (/data/WebGUI/sbin/ , when the skipmaintenance option is used, the specialState isn't altered in the beginning.

However, at the end the specialState setting is removed regardless of that.

Having custom specialStates is probably the best reason skipping the maintenance mode. So people who use it, can work around it, but that makes upgrading less than trivial, because you have to change code every time.

Imho the best would be to save any specialState and put it back (if it exists) after upgrading. An improvement to the current situation would be to check during finalizing whether the skipmaintenancemode is used, and depending on that, skip the removal too.

BTW: Using the webguiupdate wre script makes all these options unavailable, but I suppose that is just a consequence of dealing with custom code.

Solution Summary
11/1/2010 10:17 am
Using specialState is dangerous since it's used by WebGUI internally.  However, the upgrade script shouldn't need to worry about clearing it.

Fixed in 7.10.4 (85f1531)
Fixed in 7.9.18 (1c63a65)
Ticket Status Resolved  
Submitted Bybartjol 
Date Submitted2010-11-01 
Assigned To unassigned  
Date Assigned2019-08-25 
Assigned By 
Severity Minor (annoying, but not harmful)  
What's the bug in? WebGUI Stable  
WebGUI / WRE Version 7.9.16 / 7.10.1  
Ticket History
3:17 PM
Resolved perlDreamer
10:59 AM
Ticket created bartjol
© 2019 Plain Black Corporation | All Rights Reserved