[OpenLayers-Trac] Re: [OpenLayers] #1910: Invalid argument failure with IE8

OpenLayers trac-20090302 at openlayers.org
Fri Feb 25 02:13:00 EST 2011


#1910: Invalid argument failure with IE8
-------------------------------------+--------------------------------------
  Reporter:  CharlesHarrison         |       Owner:  crschmidt   
      Type:  feature                 |      Status:  closed      
  Priority:  blocker                 |   Milestone:  2.11 Release
 Component:  Layer.Vector            |     Version:  2.7         
Resolution:  worksforme              |    Keywords:              
     State:  Awaiting User Feedback  |  
-------------------------------------+--------------------------------------
Changes (by crschmidt):

  * status:  reopened => closed
  * resolution:  => worksforme


Comment:

 At this point, I feel reasonably confident that "Invalid Argument" errors
 are only the result of attempting to create Vector layers before the DOM
 is ready. If someone can still recreate this error against a modern
 version of OpenLayers with IE, we can investigate why this might be
 happening. The example given here is not simplified, and has way too much
 code to figure out what might be going wrong.

 In general, creating vector layers should happen onload. Trying to create
 them before that will typically result in strange or unwanted behavior.

 ahayes reported 20 months ago that the test page provided worked for him.
 Checking in IE right now, it also works for me. With no reproducible bug
 condition or test case to work off of, there's not much we can do about
 this.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/1910#comment:46>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list