[OpenLayers-Users] potential bug causing null reference problems using onComplete on Control.DragFeature?

Björn Harrtell bjorn.harrtell at gmail.com
Tue Mar 17 10:41:36 EDT 2009


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.

With regards,

Björn Harrtell



More information about the Users mailing list