Community
Participate
Working Groups
Eclipse SDK 3.6.0.I20100504-0800 While manipulating extension elements (adding/removing elements and changing attributes) in the PDE Extension Editor, these errors occur frequently, making the editor unusable: - Whole elements (extension element and sub-elements as well) get duplicated, see attached screenshots elements_duplicated_1.png (I only created one menus/commands/handlers element, the rest appeared upon reopening the document) and elements_duplicated_2.png (every change seems to have caused one duplicate element, the editing history can be seen from bottom to top) - XML text fragments are inserted in the wrong places, screwing up the whole document (see xml_broken.png, '</plu' in the middle and 'gin>' at the end) - MalformedTreeException exception, see attachment MalformedTreeException.txt.
Created attachment 167636 [details] elements_duplicated_1.png
Created attachment 167637 [details] elements_duplicated_2.png
Created attachment 167638 [details] xml_broken.png
Created attachment 167639 [details] MalformedTreeException.txt
How are you reproducing this? Can you give us a simple set of steps... we don't really touch the editing bits of PDE much so it could be something that bubbled up from JFace Text...
Problem number 1 (duplicated elements) seems to be triggered by having the WTP XML tooling installed. I could swear I have seen a bug related to that, but I cannot find it. I can reproduce this using the following steps: - Create a new plug-in, contributing to the UI, no template. - Go to extensions (should be empty) - Add "org.eclipse.ui.commands", Save. - Add a command element and Save. - Add another command element and Save, should look like ext1.png now. - Reopen the document, looks like ext2.png. - Reproduced on my Eclipse SDK 3.6.0.I20100504-0800 installation. - Updated to Eclipse SDK 3.6.0.I20100509-0800, still reproducable. - Tried the same on a fresh Eclipse SDK M7 installation, works as expected. - Updated to 3.6.0.I20100509-0800, works as expected. - Installed XML tooling from latest WTP I-Build (http://download.eclipse.org/webtools/downloads/drops/R3.2.0/I-3.2.0-20100422162836/repository/): Eclipse Web Developer Tools 3.2.0.v201004210707-7O7BFb3EMf6XlkhHH1z00lDAbWVW Eclipse XML Editors and Tools 3.2.0.v201004210707-7H7AFRADxumKhLR7fb2JMe9ejpDV Problem reproducable again. Will try to reproduce the other problems tomorrow.
Created attachment 167642 [details] ext1.png
Created attachment 167643 [details] ext2.png
I'm guessing this is a dupe of bug 307524. That one should probably be bumped to critical. *** This bug has been marked as a duplicate of bug 307524 ***