[SOLVED]duplicate tc_external_id
Posted: Fri Apr 12, 2013 8:48 am
Hello everyone,
we are encountering a scenario where we have several testcases within one testproject having the same external id.
Of course shis leads to problems when filtering, assigning etc.
It looks like it has something to do with export/import and testcase creation.
What we did so far is:
- use existing TestLink instance (TL1), create testcases on TL1, export all testcases to xml
- setup new TestLink instance (TL2), import all TL1-testcases from xml
- create new testcases on TL2
What I can see now in the datbase of TL2 are several different tests - in the same testproject - sharing the same tc_external_id.
The question here is now how did this happen, how to prevent this in the future.
I have the idea of patching this inside my database by updating the tc_external_id of the testcases to something not used yet.
Will this work or do I break more things by doing so?
Help would be appreciated
edit:
I'm on TestLink 1.9.6 right now
we are encountering a scenario where we have several testcases within one testproject having the same external id.
Of course shis leads to problems when filtering, assigning etc.
It looks like it has something to do with export/import and testcase creation.
What we did so far is:
- use existing TestLink instance (TL1), create testcases on TL1, export all testcases to xml
- setup new TestLink instance (TL2), import all TL1-testcases from xml
- create new testcases on TL2
What I can see now in the datbase of TL2 are several different tests - in the same testproject - sharing the same tc_external_id.
The question here is now how did this happen, how to prevent this in the future.
I have the idea of patching this inside my database by updating the tc_external_id of the testcases to something not used yet.
Will this work or do I break more things by doing so?
Help would be appreciated
edit:
I'm on TestLink 1.9.6 right now