Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 342011

Summary: Deletion of a Test Case with referenced TC is not possible: Unexpected Error
Product: [Technology] Jubula Reporter: Tim Winselmann <tim.winselmann>
Component: CoreAssignee: Zeb Ford-Reitz <zeb.ford-reitz>
Status: CLOSED FIXED QA Contact: Oliver Goetz <Oliver.Goetz>
Severity: blocker    
Priority: P3 CC: Achim.Loerke
Version: 0.9.0   
Target Milestone: 1.0   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
UE while deleting Test Case none

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.