#2445 closed defect (fixed)
Preveiw Legend error message, no working Public URL link with Windows 7 setup
Reported by: | WEK | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 2.6 |
Component: | General | Version: | |
Severity: | critical | Keywords: | Preview, Server |
Cc: | External ID: |
Description
version 2.6 b1 installed on Windows 7 under PHP, 64 bit. Public URL link from any Maestro version (5.1 to 5.0)opens viewer but no map. Preview from any Maestro opens viewer with map but central error message about Legend errors. Message is "a.legend currentRange is null".Works fine but continued error message. Same setup worked great with version 2.6 alpha.
Attachments (1)
Change History (5)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
I guess I didn't know it wasn't suppose to work ;-) It has worked for me as long as I can remember. Various Maestro versions. And various MGOS versions. If we are talking about the same thing. Using a fusion template and then clicking on the "Preview" button on the toolbar. Look forward to getting rid of the Legend error message. Thanks
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Ok I thought you meant previewing *any* resource (that is not a Flexible Layout), which only uses the AJAX viewer. Previewing fusion layouts will use the Fusion viewer.
This is the fix: http://trac.osgeo.org/fusion/changeset/2835
by , 11 years ago
Attachment: | MGOS26.ppt added |
---|
comment:4 by , 11 years ago
Thanks, I believe I applied the fix correctly. Changed the two lines in Legend.js. Rebooted, shut down server etc but still get error message with flexible layouts. Ajax viewer has no such problems. See attachment for error message and fix code in Legend.js
Thanks
I found the cause, but I'm curious to know how you're able to preview resources with the Fusion viewer from Maestro as that option has always been disabled.