MassGIS / morisoliver

Automatically exported from code.google.com/p/morisoliver
2 stars 2 forks source link

Creating a permalink with no active layers checked generates a URL that causes a JS error on load #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Deselect all active layers
2. Create a permalink.  
3. Open the permalink

What is the expected output? What do you see instead?

No js error.  Oliver should load without problems, just with no active layers.

Original issue reported on code.google.com by maric423@gmail.com on 14 Jun 2011 at 9:19

GoogleCodeExporter commented 9 years ago
Here are more details about this bug:

Creating a permalink with no active layers checked generates a URL that causes 
a JS error on load. It displays as a JavaScript error in map.js where the WMS 
object isn't constructed when there are no active layers, but it doesn't look 
like it's preventing any necessary code execution (i.e., it shows up as the 
little red error sign in the bottom corner for ie8, in firebug's error count on 
FF, in IE9s console, etc.).

Original comment by emily.hu...@state.ma.us on 3 Oct 2011 at 3:54