Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[lyo-dev] Invoking updateResource() on Test Plans & Cases Removes Existing Links to Requirement Collections, Requirements, Test Cases and Test Scripts

I'm experiencing the following with org.eclipse.lyo.client.java

Environment:  CLM 4.0.5

To Reproduce:

Manually:
1.  Manually create a test plan; link it to an RRC requirement collection
2.  Add a test case to the plan
3.  Link the test case to a requirement
4.  Link the test case to a test script

in code:
3.  GET the test plan
4.  Put it back with updateResource(). I'm putting it back like so:

rqmClient.updateResource(oslcTestPla.getAbout().toString(),
                                oslcTestPlan,
                                OslcMediaType.APPLICATION_RDF_XML,
                                OslcMediaType.APPLICATION_RDF_XML);

Expected:  No change has been made to the plan
Actual:  links to test cases and requirement collection are gone

5.  GET the test case
6.  Put it back with updateResource()

Expected:  No change has been made to the case
Actual:  links to requirement and test script are gone


Regards,

Daniel Chirillo
IBM Software Services for Rational
1-720-395-0914  (voice & fax)
chirillo@xxxxxxxxxx

Back to the top