MantisBT - TestLink
View Issue Details
0004398TestLinkMigration/Upgrade Testlinkpublic2011-04-10 17:272011-07-02 13:49
Julian 
Julian 
highfeature requestN/A
closedfixed 
1.9.2 (2011 Q2 - bug fixing) 
1.9.3 (2011 Q3 - bug fixing) 
-
0004398: Prevent user-login when database scheme version does not fit required scheme
Prevent user-login when database scheme does not fit required scheme.

Like this users will be informed in an early state that testlink cannot operate properly in this state. Users are forced to have correct database.
No tags attached.
Issue History
2011-04-10 17:27JulianNew Issue
2011-04-11 08:51JulianNote Added: 0014545
2011-04-11 09:37fmanNote Added: 0014548
2011-04-11 11:54JulianNote Added: 0014551
2011-04-11 12:11JulianNote Added: 0014552
2011-04-11 12:11JulianAssigned To => Julian
2011-04-11 12:11JulianStatusnew => feedback
2011-04-11 12:20JulianNote Added: 0014553
2011-04-11 12:20JulianStatusfeedback => assigned
2011-04-14 09:39JulianStatusassigned => resolved
2011-04-14 09:39JulianFixed in Version => 1.9.3 (2011 Q3 - bug fixing)
2011-04-14 09:39JulianResolutionopen => fixed
2011-07-02 13:49fmanNote Added: 0015466
2011-07-02 13:49fmanStatusresolved => closed

Notes
(0014545)
Julian   
2011-04-11 08:51   
Reminder sent to: fman

I only found checkSchemaVersion() on configCheck.php

Is this the function you were talking about?
(0014548)
fman   
2011-04-11 09:37   
yes
(0014551)
Julian   
2011-04-11 11:54   
will remove reference to SCHEMA_CHANGES from upgrade message because file was deleted with the reason "not enough time to maintain".

file still exists on master and will be removed there too
(0014552)
Julian   
2011-04-11 12:11   
branch 1.9:
http://gitorious.org/testlink-ga/testlink-code/commit/31d23af7767b634be4e7a26895ed1545fce30068 [^]

master:
http://gitorious.org/testlink-ga/testlink-code/commit/35819c350228c32bf87b1eae1110c26c705be142 [^]

Please review changes. I tested as good as i can but maybe missed some case.
(0014553)
Julian   
2011-04-11 12:20   
to test i modified db_version table (Testlink 1.9.1 installed) -> DB 1.4

1. update db_version set version='DB 1.3' where notes = 'TestLink 1.9.1'
2. try to login
-> login forbidden with message:
Manual upgrade of your DB scheme necessary (1.9.0 -> 1.9.1) - Read README file!

3. update db_version set version='DB 1.2' where notes = 'TestLink 1.9.1'
4. try to login
-> login forbidden with message:
You need to upgrade your Testlink Database to DB 1.4 -
click here access install and upgrade page
(0015466)
fman   
2011-07-02 13:49   
1.9.3 released