Hello,
I'm getting an error with IE7 so the map is not rendering:
Error during map rendering: [object Error]
Using:
- Drupal 7.12
- Geofield 7.x-1.0+7-dev (older releases tryed too)
- OpenLayers 7.x-2.0-beta1+12-dev (older releases tryed too)
The map is in the comments form. I don't know if it matters.
I thought it was an Openlayers issue (like http://drupal.org/node/858450) but if I disable the Geofield options for Behaviors in structure/openlayers/maps everything is fine. No problem with zoom and other options.
No solution founded in other related issues.
I can't post here the URL to see it, but could send it privately. Thank you.
Comment | File | Size | Author |
---|---|---|---|
#4 | geofield-behavior-1554990-6333560.patch | 784 bytes | barthje |
Comments
Comment #1
phayes CreditAttribution: phayes commentedCan you try it in the 2.x-dev version of geofield? We've done some updates to the JavaScript and it *might* be fixed already...
Comment #2
ckrinaI'm sorry, still having the trouble with 2.x-dev. Even clearing browser and Drupal caches.
Comment #3
barthje CreditAttribution: barthje commentedI ran into the same problem.. after some debugging I found out where it goes wrong..
in the file openlayers_behavior_geofield.is it has a loop that wants to make the first letter of a string uppercase.. it seems like IE7 does not support the way it does this.
It goes wrong at line 52:
Comment #4
barthje CreditAttribution: barthje commentedI made a small change to the way javascript gets the first character of the string.. the patch is created for 7.x-1.1
Comment #5
dianacastillo CreditAttribution: dianacastillo commentedI get this : Error found during map rendering: TypeError: Unable to get value of the property 'transform': object is null or undefined
but it has nothing to do with geofield, If I disable geofield options I still get it.
Comment #6
dianacastillo CreditAttribution: dianacastillo commentedI solved my problem by disabling the Adaptive Image Styles module.
Comment #7
drasgardian CreditAttribution: drasgardian commentedThank you, the patch from #4 solved my problem.
My specific error message was:
Error during map rendering: TypeError: Unable to get value of the property 'toUpperCase': object is null or undefined
in IE9