| Summary: | Local task is saved without prompt after switching to the context tab | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Sam Davis <sam.davis> |
| Component: | Mylyn | Assignee: | Project Inbox <mylyn-triaged> |
| Status: | CLOSED MOVED | QA Contact: | |
| Severity: | major | ||
| Priority: | P2 | CC: | shawn.minto |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Sam Davis
Interesting. Thanks for reporting that. The editor invokes commit(false) on the form which is delegated to the parts and causes the undesired save. The idea is to flush everything to the model, probably to give other pages a chance to update the UI from the model. The task editor basically makes the wrong assumption that the dirty state of the model (or part for that matter) is the same as the dirty state of the editor and committing is the same as saving which is not the intended use of the forms API. We'll need to review editor parts and fix tracking of the dirty state and committing for the parts that do not operate on working copies. Mylyn has been restructured, and our issue tracking has moved to GitHub [1]. We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub. [1] https://github.com/orgs/eclipse-mylyn |