Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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)

MGOS26.ppt (286.5 KB ) - added by WEK 10 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by jng, 10 years ago

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.

comment:2 by WEK, 10 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 jng, 10 years ago

Resolution: fixed
Status: newclosed

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 WEK, 10 years ago

Attachment: MGOS26.ppt added

comment:4 by WEK, 10 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

Note: See TracTickets for help on using tickets.