[OpenLayers-Users] potential bug causing null reference
problems using onComplete on Control.DragFeature?
Tim Schaub
tschaub at opengeo.org
Wed Mar 18 18:16:03 EDT 2009
Hey-
Björn Harrtell wrote:
> Hi list,
>
> I sometimes null-reference errors related 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.
>
> The problem seem timing related so I can't do a testcase for this, but
> I suspect that this.feature = null; in the method
> DragFeature.upFeature might cause problems depending on event order?
>
> I'll open up a ticket if my finding seems to be reasonable cause for a
> bug report.
>
I hope that http://trac.openlayers.org/changeset/9090 resolves this
issue (and doesn't bring up any others :).
Thanks for the patch Björn.
Tim
> With regards,
>
> Björn Harrtell
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
--
Tim Schaub
OpenGeo - http://opengeo.org
Expert service straight from the developers.
More information about the Users
mailing list