Skip to main content

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

Daniel,

Thanks for the report. I'll try to reproduce. I believe this is the same problem you saw in the other email thread on related change request links. Do you mind opening a bug against technology/lyo at bugs.eclipse.org?

--
Samuel Padgett | IBM Rational | spadgett@xxxxxxxxxx
Eclipse Lyo: Enabling tool integration with OSLC


Inactive hide details for Daniel Chirillo---01/22/2014 12:36:54 PM---I'm experiencing the following with org.eclipse.lyo.clientDaniel Chirillo---01/22/2014 12:36:54 PM---I'm experiencing the following with org.eclipse.lyo.client.java Environment:  CLM 4.0.5


    From:

Daniel Chirillo/New York/IBM@IBMUS

    To:

"Lyo project developer discussions" <lyo-dev@xxxxxxxxxxx>

    Date:

01/22/2014 12:36 PM

    Subject:

[lyo-dev] Invoking updateResource() on Test Plans & Cases Removes Existing Links to Requirement Collections, Requirements, Test Cases and Test Scripts

    Sent by:

lyo-dev-bounces@xxxxxxxxxxx




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
_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/lyo-dev


GIF image

GIF image


Back to the top