Test case Id lost when migrationg from 1.7.4 to 1.8 B3
Moderators: Amaradana, TurboPT, TL Developers
Test case Id lost when migrationg from 1.7.4 to 1.8 B3
Hello,
I've migrated successfully the data base from TL 1.7.4 to 1.8 B3.
But during the migration, test cases Ids are re-computed. Thus I lost the previous Id.
Question : is it possible to keep during the migration the old test case Id, and to start the mumbering from a defined value for new test cases?
Thanks,
Pierre
I've migrated successfully the data base from TL 1.7.4 to 1.8 B3.
But during the migration, test cases Ids are re-computed. Thus I lost the previous Id.
Question : is it possible to keep during the migration the old test case Id, and to start the mumbering from a defined value for new test cases?
Thanks,
Pierre
Pierre:
I've tested migration from 1.7 to 1.8, and review code.
No change is done on test case internal ID, but on 1.8 test case internal ID are not showed on user interface anymore, we have choose to display External Testcase ID.
please re-check your migration and explain in details what has happened
I've tested migration from 1.7 to 1.8, and review code.
No change is done on test case internal ID, but on 1.8 test case internal ID are not showed on user interface anymore, we have choose to display External Testcase ID.
please re-check your migration and explain in details what has happened
crappy workaround
To fix this I usually copy the testcase and delete the old version.
Lost ID's
After upgrading to RC2 from 1.7.4 all my existing test id's are now "0" on the UI. After adding a prefix option I created a new test case. This new test case is now TC-1. Is there any way to display the old test cases with their original id's and have the new test case id's start after them?
>>After upgrading to RC2 from 1.7.4 all my existing test id's are now "0" >>on the UI.
is not clear what is happing, please explain better.
>> After adding a prefix option I created a new test case. This new test >>case is now TC-1.
>> Is there any way to display the old test cases with their original id's >> and have the new test case id's start after them?
What you can do if write yourself a sql statement to update tcversions table
field that holds external id with internal id (you have this on nodes_hierarchy table, of type testcase)
is not clear what is happing, please explain better.
>> After adding a prefix option I created a new test case. This new test >>case is now TC-1.
>> Is there any way to display the old test cases with their original id's >> and have the new test case id's start after them?
What you can do if write yourself a sql statement to update tcversions table
field that holds external id with internal id (you have this on nodes_hierarchy table, of type testcase)
-
- Advanced user
- Posts: 24
- Joined: Thu Nov 13, 2008 10:25 pm
Hello fman,
>> Is there any way to display the old test cases with their original id's >> and have the new test case id's start after them?
What you can do if write yourself a sql statement to update tcversions table
field that holds external id with internal id (you have this on nodes_hierarchy table, of type testcase)
i checked the test case id's in both tables and I believe it can be fixed as suggested by fman, just a little doubt......
will it impact somewhere else also??
what query did u use to fix this??
>> Is there any way to display the old test cases with their original id's >> and have the new test case id's start after them?
What you can do if write yourself a sql statement to update tcversions table
field that holds external id with internal id (you have this on nodes_hierarchy table, of type testcase)
i checked the test case id's in both tables and I believe it can be fixed as suggested by fman, just a little doubt......
will it impact somewhere else also??
what query did u use to fix this??
-
- Advanced user
- Posts: 24
- Joined: Thu Nov 13, 2008 10:25 pm
-
- Advanced user
- Posts: 16
- Joined: Wed Dec 17, 2008 8:22 am
Prefix needed in rc3
My RC3 don´t accept empty Prefix.
Our automat. run tool accept only testcase numbers.
How could i disable Prefix?
How could i enable view of old testcase id? (i don´t understand solution above)
Our automat. run tool accept only testcase numbers.
How could i disable Prefix?
How could i enable view of old testcase id? (i don´t understand solution above)