Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 83087 - [Functionality, Usability] Testing resources cannot be renamed, deleted and/or moved without breaking associations.
Summary: [Functionality, Usability] Testing resources cannot be renamed, deleted and/...
Status: CLOSED DUPLICATE of bug 166025
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P1 major (vote)
Target Milestone: ---   Edit
Assignee: Jerome Gout CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 113246
Blocks: 123833 158323
  Show dependency tree
 
Reported: 2005-01-18 08:12 EST by Paul Slauenwhite CLA
Modified: 2016-05-05 10:32 EDT (History)
2 users (show)

See Also:


Attachments
partial patch (335.68 KB, patch)
2007-04-18 11:58 EDT, Jerome Gout CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Slauenwhite CLA 2005-01-18 08:12:46 EST
Testing resources cannot be renamed, deleted and/or moved without breaking 
associations.

For example, when users create an execution history for a manual test suite, 
the *.execution file cannot be moved (common use case for file-based resources) 
without breaking the association to the parent test suite.  For example, an 
execution history created at the root of the workspace and then moved to the 
results folder later.  The association is also broken when the test suite is 
renamed and/or deleted (common use cases for file-based resources).  
This is problematic since:

1) Users cannot open the test case/suite associated with an execution history 
in the Test Navigator.

2) Report generators that are invoked on a test suite cannot locate execution 
histories for a the parent test suite. 

This appears to be cased by the EMF testing model which uses an unidirectional  
cross model association.  The unidirectional  cross model association uses a 
href in the EMF XMI file based on a local relative path instead of a unique ID 
with a dynamic lookup service.  For example:

<interactionFragment 
xsi:type="Common_Behavior_Interactions:BVRExecutionOccurrence" 
href="../../../manual/Profiling_and_Logging/Java_Profiler.testsuite#DC0BE96CC9D6
20E8153C1F022CD811D9"/>
Comment 1 Dominique Guilbaud CLA 2005-05-02 08:47:10 EDT
[sizing = 4 weeks]
Comment 2 Scott E. Schneider CLA 2005-10-17 15:29:11 EDT
This is targeted for 4.1, please adjust to 4.2.
Comment 3 Mark D Dunn CLA 2005-10-26 16:27:04 EDT
Reset target to 4.2 and assigned to Scott.
Comment 4 Scott E. Schneider CLA 2006-02-13 10:34:35 EST
Paul, I'm assigning this over to you, please delegate it to someone else as required (move it out of TPTP 4.2 if needed as well).
Comment 5 Paul Slauenwhite CLA 2006-02-13 10:46:31 EST
This defect is not specific to manual test resources.  It applies to the test resources associated with each test type and their execution.  Transferring to the Test.UI component since the fix will be required when users rename, delete and/or move a test resource in the Test Perspective (or any other Eclipse view).
Comment 6 Mark D Dunn CLA 2006-02-13 10:50:01 EST
Reassign to Test.UI developer - Jerome.
Comment 7 Jerome Gout CLA 2006-04-06 09:35:42 EDT
Defering this defect since it reqires major enhancements that can not be implemented before the end of 4.2.
Comment 8 Jerome Gout CLA 2006-10-23 10:07:18 EDT
Retarget to 4.4 since all non-blocking/critical defects will be deferred
as decided in last friday's AG call.
Comment 9 Jerome Gout CLA 2006-11-28 04:19:05 EST

*** This bug has been marked as a duplicate of bug 166025 ***
Comment 10 Jerome Gout CLA 2007-04-18 11:58:14 EDT
Created attachment 64208 [details]
partial patch
Comment 11 Paul Slauenwhite CLA 2007-06-02 14:50:57 EDT
Reporter: Please verify and close in preparation for shutting down the TPTP 4.4 release.  Thanks.
Comment 12 Paul Slauenwhite CLA 2007-06-27 13:18:33 EDT
Closing by default since not verified/closed by the originator in the 6+ months since being resolved.  

Please reopen if the issue is still present in the latest TPTP release or the
resolution is not correct.
Comment 13 Paul Slauenwhite CLA 2007-06-29 07:46:44 EDT
Re-opening since duplicate defect is not yet resolved.
Comment 14 Paul Slauenwhite CLA 2007-06-29 07:47:00 EDT

*** This bug has been marked as a duplicate of bug 166025 ***
Comment 15 Paul Slauenwhite CLA 2008-06-10 09:19:33 EDT
Verified in TPTP-4.5.0RC3-200806031051.  Closing.