Migration of requirements from 1.6 and 1.7???

The release related discussions, plans and questions.
Locked
mwhite
TestLink user
Posts: 8
Joined: Mon Jan 29, 2007 7:28 pm

Migration of requirements from 1.6 and 1.7???

Post by mwhite »

Is there any plans to update the migration scripts from 1.6 to 1.7 to migrate requirements and their associations with test cases. Currently, the migration scripts don't migrate this data.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

I will retest the process, but think the feature you are requesting, already exists.
mwhite
TestLink user
Posts: 8
Joined: Mon Jan 29, 2007 7:28 pm

Post by mwhite »

I believe the migration from 1.6.X to 1.7 has issues and maybe the source of the problem. Is there a work around for the migration process that doesn't complete.....

This is what I get when I create a new installation followed by the migration:

Connecting to Testlink 1.6 (source) database. - ANSTestLink - OK!

Connecting to Testlink 1.7 (target) database. - ANSTestLink17 - OK!

Truncating tables in Testlink 1.7 (target) database. - ANSTestLink17 -

[show/hide] Users: (Found 8 users to migrate) [Click to show details] 10:58:18

Number of users: 8

Migrating user: XXX
Migrating user: XXX
Migrating user: XXX
Migrating user: XXX
Migrating user: XXX
Migrating user: XXX
Migrating user: XXX
Migrating user: XXX

[show/hide] Test Case Specifications: (Found 1135 to migrate) [Click to show details] 10:58:18


Is this normal? Do I need to do something else to resolve this issue....
mwhite
TestLink user
Posts: 8
Joined: Mon Jan 29, 2007 7:28 pm

Post by mwhite »

This is still an issue with RC1....does anyone have any plans on looking into the 1.6.2/1.6.3 to 1.7 data migration?
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

Migration form 1.6.2 to 1.7 is fully functional.
As stated on Mantis:
there is nothing we can do without your DB (that has no value for us).
belonesox
TestLink user
Posts: 3
Joined: Wed Aug 15, 2007 11:07 am

I just test migration 1.6 -> 1.7 for 1.7RC4.

Post by belonesox »

I just test migration 1.6 -> 1.7 for 1.7RC4.

Following errors need to be corrected in migrate_16_to_17.php:

Line 1322:

Code: Select all

    $sql="INSERT INTO milestones " .
         "(testplan_id,date,A,B,C,name) " .
to

Code: Select all

    $sql="INSERT INTO milestones " .
         "(testplan_id,target_date,A,B,C,name) " .
Uncomment line 153:

Code: Select all

// $a_sql[]="TRUNCATE TABLE priorities";
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

OK I will fix it ASAP
Locked