Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#361 closed defect (fixed)

Commercial layer support not working for layouts stored in session repository

Reported by: chrisclaydon Owned by: chrisclaydon
Priority: P2 Milestone:
Component: Core Version: SVN
Severity: Major Keywords:
Cc: Browser: All
External ID: 1298129 Operating System: All
state: New

Description

When attempting to view an application definition that is stored in the session repository (as used for previews), the required scripts for commercial layers, such as Google, Bing, Yahoo etc. fail to load properly.

Attachments (1)

CommercialLayerScript.patch (1.4 KB ) - added by chrisclaydon 14 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by chrisclaydon, 14 years ago

The problem occurs because the code in Fusion.js attempts to retrieve the session-based resource using a different session ID that does not have access to the required repository. The fix is pretty simple, and I'll submit a patch shortly.

by chrisclaydon, 14 years ago

Attachment: CommercialLayerScript.patch added

comment:2 by chrisclaydon, 14 years ago

Resolution: fixed
Status: newclosed

Submitted fix. The code changes are only 2-3 lines. The submission looks bigger than it is because I converted some tabs to spaces in the existing code.

http://trac.osgeo.org/fusion/changeset/2082

comment:3 by liuar, 14 years ago

Create session when Fusion.getQueryParam('Session') returns "". http://trac.osgeo.org/fusion/changeset/2084

comment:4 by madair, 14 years ago

Milestone: 2.1

Milestone 2.1 deleted

Note: See TracTickets for help on using tickets.