Bugzilla – Bug 357405
Add Task and Add Bookmark menu options broken in XML Editor
Last modified: 2019-04-10 18:01:08 UTC
STR: 1. Edit an existing policy 2. Click on the XML Source tab 3. Right-click in the left margin. 4. Select Add Task or Add Bookmark. 5. Enter anything in the resulting dialogs and click OK. The result is an error stating "Cannot complete operation because resource no longer exists." These two menu options are Eclipse carryovers and I don't know if they should be displayed in this menu or not. All other menu options function as expected.
Marking 3.0 Ship for now.
This is an eclipse issue.
*** Bug 389822 has been marked as a duplicate of this bug. ***
*** Bug 389825 has been marked as a duplicate of this bug. ***
Adding Eclipse keyword, found in version and fixed in version of "Eclipse Framework" to 3rd party bugs
Still a problem in Designer 4.0 M1 (Eclipse 3.4).
This issue is not seen in Eclipse 3.4. Please verify with the latest build. Add Task and Add Bookmark functionality is restored.
Issue is still seen. STR as given in the description itself. Version: 4.0.0 Build id: 20090302
It seems that tasks have been re-implemented in Eclipse to no longer support the TODO: syntax. Seems to be storing a file position (perhaps for the file and modification date) in the project metadata. Therefore passing along the TODO: comment from Novell's temporary editing file (e.g., file1.scriptPolicy_ editing vs. file1.xml actual file) to the actual xml file no longer works. Whatever the reason Novell Designer needs to 'wrap' the xml data in a temporary editing file, they must implement the new bookmarking and Task marking method now used in Eclipse.
So when attempting to create the task, it passes the temporary editing file as the location. But that file does not actually contain the XML (therefore resource not found.)