Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342011 - Deletion of a Test Case with referenced TC is not possible: Unexpected Error
Summary: Deletion of a Test Case with referenced TC is not possible: Unexpected Error
Status: CLOSED FIXED
Alias: None
Product: Jubula
Classification: Technology
Component: Core (show other bugs)
Version: 0.9.0   Edit
Hardware: All All
: P3 blocker (vote)
Target Milestone: 1.0   Edit
Assignee: Zeb Ford-Reitz CLA
QA Contact: Oliver Goetz CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-06 08:54 EDT by Tim Winselmann CLA
Modified: 2011-04-14 04:49 EDT (History)
1 user (show)

See Also:


Attachments
UE while deleting Test Case (4.28 KB, text/plain)
2011-04-06 08:54 EDT, Tim Winselmann CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Winselmann CLA 2011-04-06 08:54:14 EDT
Created attachment 192637 [details]
UE while deleting Test Case

1. Start GUIdancer, connect to a database and open the Samples project.
2. Create a 'New Test Case' in the Test Case Browser via the context menu and open it with 'ENTER'. Reference another Test Case with 'Enter' (e.g. ub_grc_clickLeft_single). Save the editor and lose it.
3. Try to delete the Test Case in the Test Case Browser (via 'Del' or the context menu)

-->
3004: Unexpected error occurred.
  java.lang.IllegalArgumentException: Entity must be managed to call remove: 


The stack trace is attached in the file "bug_DeletingTestCaseWithReference.txt".
Comment 2 Oliver Goetz CLA 2011-04-14 04:49:36 EDT
Fix tested manually.