plainblack.com
Username Password
search
Bookmark and Share
View All Tickets
upgrade script always removes specialState   (#11938)
Issue

In the upgrade script (/data/WebGUI/sbin/upgrade.pl) , 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
Comments
perlDreamer
0
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)
Details
Ticket Status Resolved  
Rating0.0 
Submitted Bybartjol 
Date Submitted2010-11-01 
Assigned To unassigned  
Date Assigned2019-05-22 
Assigned By 
Severity Minor (annoying, but not harmful)  
What's the bug in? WebGUI Stable  
WebGUI / WRE Version 7.9.16 / 7.10.1  
URLuse/bugs/tracker/11938
Keywords
Ticket History
11/1/2010
3:17 PM
Resolved perlDreamer
11/1/2010
10:59 AM
Ticket created bartjol
© 2019 Plain Black Corporation | All Rights Reserved