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

Bug 360202

Summary: Deletion of Outline produces error and new creation of an Outline with the name of the previously deleted "revives" the old ones
Product: z_Archived Reporter: Missing name <carolalah>
Component: ScoutAssignee: Project Inbox <scout.sdk-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mvi
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Adding an Outline revived the previously deleted ones with the same name
none
Deleting an Outline leads to uncleanedup code none

Description Missing name CLA 2011-10-07 04:28:16 EDT
Build Identifier: 20110916-0149

1. Deletion of Outline produces error
I worked through the tutorial step of adding an Outline (http://wiki.eclipse.org/Scout/Tutorial/Write_The_First_Page#Add_an_Outline_first) and created a "Standard Outline" as explained. Then I deleted the Outline again. After that the previously created code in Desktop.java wasn't cleaned up. So Errors in the code where produced as the "StandardOutline" I had just deleted became an unresolved type.

2. Next I tried a new creation of an Outline with the name as the previously deleted. This step kind of "revives" the old deleted Outlines having the same name.
So after creating a new "StandardOutline" suddenly all the previously deleted Outlines with the same name are there again. If I delete one of them suddenly all are gone.

Reproducible: Always

Steps to Reproduce:
1. Add a new Outline to the page
2. Delete the Outline -> first error: created code isn't cleaned up right
3. Add a new Outline with the same name as the previously deleted -> second error: the old Outline(s) with the same name are revived
4. Delete one of those Outlines -> third error: all of them are gone
Comment 1 Missing name CLA 2011-10-07 04:29:46 EDT
Created attachment 204730 [details]
Adding an Outline revived the previously deleted ones with the same name
Comment 2 Missing name CLA 2011-10-07 04:30:41 EDT
Created attachment 204731 [details]
Deleting an Outline leads to uncleanedup code
Comment 3 Matthias Villiger CLA 2012-03-09 12:54:26 EST
Deletion of outline now also removes the outline from the desktop (if present) and also removes OutlineViewButtons that correspond to the naming of the outline.
Comment 4 Matthias Zimmermann CLA 2012-07-09 06:50:57 EDT
ticket closed.
deliverd as part of eclipse scout 3.8.0 (juno release train)