Ticket #683 (closed defect: wontfix)
admin/ failure after upgrade
Reported by: | reppep | Owned by: | olivier |
---|---|---|---|
Priority: | normal | Milestone: | 2.2 |
Component: | module:core | Version: | 2.1 |
Severity: | normal | Keywords: | |
Cc: |
Description
I closed my admin tab, upgraded to 2.1.5 with "svn update", and was unable to log back in:
Fatal error: Uncaught exception 'Exception' with message 'Unknown column 'user_change_pwd' in 'field list' (1054)' in /home/web/dotclear2/inc/clearbricks/dblayer/class.mysql.php:103 Stack trace: #0 /home/web/dotclear2/inc/clearbricks/dblayer/dblayer.php(348): mysqlConnection->db_query(Resource id #15, 'SELECT user_id,...') #1 /home/web/dotclear2/inc/core/class.dc.auth.php(88): dbLayer->select('SELECT user_id,...') #2 /home/web/dotclear2/inc/core/class.dc.auth.php(180): dcAuth->checkUser('reppep') #3 /home/web/dotclear2/inc/admin/prepend.php(69): dcAuth->checkSession() #4 /home/web/dotclear2/admin/auth.php(13): require('/home/web/dotcl...') #5 {main} thrown in /home/web/dotclear2/inc/clearbricks/dblayer/class.mysql.php on line 103
The workaround was to quit the browser; when I reconnected I logged back in successfully.
It is mandatory to log-out for an upgrade. The only workaround would be to permanently check the files for changes, that would be way too much. The "normal" upgrade options warn the user or even automatically log him out. We will continue to make the assumption that a user who upgrade by svn will remember to log-out.