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

Bug 333695

Summary: 'Snippets' customization dialog can get into an infinite error loop
Product: [WebTools] WTP Common Tools Reporter: Remy Suen <remy.suen>
Component: Snippets FrameworkAssignee: Nick Sandonato <nsand.dev>
Status: RESOLVED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: critical    
Priority: P3 CC: nsand.dev
Version: unspecifiedFlags: thatnitind: review+
Target Milestone: 3.2.3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch none

Description Remy Suen CLA 2011-01-06 15:58:35 EST
I20101208-1300 (3.7M4)

1. Install 'Eclipse XSL Developer Tools' from the Indigo site.
2. Restart when prompted.
3. Put some text in your clipboard.
4. Open the 'Snippets' view.
5. Ctrl+F10 > Paste as Snippet...
6. You are prompted for a category name, put something in.
7. Now you get a 'Customize Palette' dialog. Clear the 'Name:', 'Description:' and the 'Template:' section. You should now have a red 'X' at the top.
8. Now click the 'Delete' button in the top right hand corner.
9. You will now be in an infinite error dialog loop.

Marking as critical since I am forced to kill Eclipse, which implies data loss if I have dirty parts lying around.
Comment 1 Nick Sandonato CLA 2011-01-11 17:56:40 EST
Created attachment 186580 [details]
patch

By clearing the problem when deleting the palette entry, the dialog is prevented from being displayed repeatedly.
Comment 2 Nitin Dahyabhai CLA 2011-01-12 15:06:52 EST
Released to 3.2.3 and HEAD.  Thanks, Nick!