RQM: Test plan loop - master test plan references it self - RQMCopy Uility aborts
Hello,
in our production environment we found a master plan with a link (child test plan) to it self.
Please have a look:
The test plan identifier "testplan:18" occurs also as child test plan:
How can we fix it? It is a Production Environment!
I checked also the history of the master test plan 18. But I could not found an entry "Add child testplan:18".
Thanks a lot!
Jörg
in our production environment we found a master plan with a link (child test plan) to it self.
Please have a look:
The test plan identifier "testplan:18" occurs also as child test plan:
<?xml version="1.0" encoding="UTF-8"?> <ns2:testplan xmlns:ns2="http://jazz.net/xmlns/alm/qm/v0.1/"We saw this when trying to use RQM Copy Utility. We got always a memory issue when trying to copy the master test plan 18.
...
xmlns:ns20="http://www.w3.org/1999/XSL/Transform">
<ns2:projectArea alias="OUR_PROJECT" href="https://our-server/qm/resource/itemOid/com.ibm.team.process.ProjectArea/_4Uyxr87AEeS8wdbdE8oQUw"/>
<ns3:identifier>https://our-server/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/OUR_PROJECT/testplan/urn:com.ibm.rqm:testplan:18</ns3:identifier>
<ns4:team-area>
...
<ns2:childplan href="https://our-server/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/OUR_PROJECT/testplan/urn:com.ibm.rqm:testplan:19"/>
<ns2:childplan href="https://our-server/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/OUR_PROJECT/testplan/urn:com.ibm.rqm:testplan:18"/>
<ns2:childplan href="https://our-server/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/OUR_PROJECT/testplan/urn:com.ibm.rqm:testplan:26"/>
<ns2:childplan href="https://our-server/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/OUR_PROJECT/testplan/urn:com.ibm.rqm:testplan:44"/>
<ns2:childplan href="https://our-server/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/OUR_PROJECT/testplan/urn:com.ibm.rqm:testplan:45"/>
...
How can we fix it? It is a Production Environment!
I checked also the history of the master test plan 18. But I could not found an entry "Add child testplan:18".
Thanks a lot!
Jörg
Accepted answer
Thanks Jörg for opening defect 147697. This defect has been fixed in RQM 6.0.2 S3. If you require the fix in an iFix, please open a PMR.
Comments
Jörg Werner
Feb 08 '16, 8:58 a.m.Meanwhile we know how to create this inconsistency.
A defect 147697 is opened:
https://jazz.net/jazz02/web/projects/Rational%20Quality%20Manager#action=com.ibm.team.workitem.viewWorkItem&id=147697
Problem occurs if a child test plan is deleted.
The Master test plan has thereafter a reference to itself.
(this can be verified e,g, using poster)
As long as the deleted test plan is not purge, you can restore the test plan, delete the master-child relation and thereafter delete the test plan.