| Summary: | we over notify for the case of "floating" attributes | ||
|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | David Williams <david_williams> |
| Component: | wst.sse | Assignee: | wst.sse <wst.sse-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | Nitin Dahyabhai <thatnitind> |
| Severity: | normal | ||
| Priority: | P2 | CC: | itewksbu, nsand.dev |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
David Williams
I've marked as "P2", be cause this bug could have lots of hard to find side effects. While this bug maybe old I actually think its still worth looking into, but as David mentioned it would have to be carefully tested to be sure the trade off of less notifications for more work was actually a positive one. There is even a comment note about this in the AttrImpl#setValue method. This looks like it had been implemented at some point. In the AttrImpl#notifyValueChanged, it attempts to get the ownerElement's container document. It returns null if it's not part of a document, and the model is not notified of a change. |