| Summary: | attribute editors generate duplicate change event when task attribute changed | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Sam Davis <sam.davis> | ||||
| Component: | Mylyn | Assignee: | Sam Davis <sam.davis> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | minor | ||||||
| Priority: | P3 | Keywords: | contributed | ||||
| Version: | unspecified | Flags: | steffen.pingel:
juno+
|
||||
| Target Milestone: | 3.6.1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 350561 | ||||||
| Attachments: |
|
||||||
|
Description
Sam Davis
Created attachment 200228 [details]
fix
This should fix it, unless there are any attribute editors that have this problem and call attributeChanged directly on the model.
Thanks. We should fix this. Would you be able to include a test case? Attribute editors should not be invoking attributeChanged() unless a user interaction happens. TextAttributeEditor or RichTextAttributeEditor guard against that but LongTextEditor does not which caused bug 350561. To fix it I have applied the patch to the master and e_3_7_m_3_6_x branches: c68c0975a0b613575a96faceb94adc8fd26e5afd. Thanks for looking into this Sam. Apparently, the previous API contract was too brittle (considering that the framework did not observe it correctly) and your patch helps to make this more robust and simpler to implement for clients. Marking resolved. |