Ticket #1992 (closed feature: duplicate)
Null-reference errors when using onComplete on the DragFeature control
| Reported by: | bjornharrtell | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.9 Release |
| Component: | general | Version: | SVN |
| Keywords: | Cc: | ||
| State: |
Description
I sometimes get null-reference errors when using onComplete on the DragFeature control. The issue seems that this.feature on the control is null at the moment of the handler beeing called and depends on timing when interacting with the control/feature. My guess is that upFeature gets called before doneDragging in some cases. I've reproduced the error in IE7 and Firefox and it seems to happen more often when dragging the feature with a fast movement.
Proposed patch removes the line nulling the this.feature in upFeature, passing tests.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

