Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360202 - Deletion of Outline produces error and new creation of an Outline with the name of the previously deleted "revives" the old ones
Summary: Deletion of Outline produces error and new creation of an Outline with the na...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-07 04:28 EDT by Missing name CLA
Modified: 2021-08-19 11:13 EDT (History)
1 user (show)

See Also:


Attachments
Adding an Outline revived the previously deleted ones with the same name (211.13 KB, image/png)
2011-10-07 04:29 EDT, Missing name CLA
no flags Details
Deleting an Outline leads to uncleanedup code (197.83 KB, image/png)
2011-10-07 04:30 EDT, Missing name CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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)