Bug 357405 - Add Task and Add Bookmark menu options broken in XML Editor
Summary: Add Task and Add Bookmark menu options broken in XML Editor
Status: REOPENED
Alias: None
Product: Identity Designer
Classification: Identity Manager
Component: XML Editor (show other bugs)
Version: Eclipse Framework
Hardware: All All
: P5 - None : Normal with 1 vote (vote)
Target Milestone: Future
Assignee: Vrijendra Singh
QA Contact: Reddy Siva Saran
URL:
Whiteboard:
Keywords: Eclipse, India, Provo
Depends on:
Blocks: 336986
  Show dependency treegraph
 
Reported: 2008-01-30 20:40 UTC by Jo Harris
Modified: 2019-04-10 18:01 UTC (History)
5 users (show)

See Also:
Found By: Documentation
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
virendra.parmar: CCB_Review+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jo Harris 2008-01-30 20:40:53 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.
Comment 1 Bill Street 2008-01-31 00:07:33 UTC
Marking 3.0 Ship for now.
Comment 2 Jas M 2008-04-08 08:15:59 UTC
This is an eclipse issue.
Comment 3 Jas M 2008-05-14 06:35:09 UTC
*** Bug 389822 has been marked as a duplicate of this bug. ***
Comment 4 Jas M 2008-05-14 06:35:25 UTC
*** Bug 389825 has been marked as a duplicate of this bug. ***
Comment 5 Chuck Castleton 2008-07-02 22:28:26 UTC
Adding Eclipse keyword, found in version and fixed in version of "Eclipse Framework" to 3rd party bugs
Comment 6 Tim Pew 2008-09-03 22:13:03 UTC
Still a problem in Designer 4.0 M1 (Eclipse 3.4).
Comment 7 Jas M 2008-12-23 07:59:47 UTC
This issue is not seen in Eclipse 3.4. Please verify with the latest build.
Add Task and Add Bookmark functionality is restored.
Comment 8 Forgotten User w6nSwyBNUC 2009-03-04 08:40:52 UTC
Issue is still seen. STR as given in the description itself.
Version: 4.0.0
Build id: 20090302
Comment 10 Mark Senn 2010-06-03 17:22:42 UTC
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.
Comment 11 Mark Senn 2010-06-03 17:26:14 UTC
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.)