Opened 11 years ago

Closed 11 years ago

Last modified 10 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 11 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 11 years ago by chrisclaydon

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.

Changed 11 years ago by chrisclaydon

Attachment: CommercialLayerScript.patch added

comment:2 Changed 11 years ago by chrisclaydon

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 Changed 11 years ago by liuar

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

comment:4 Changed 10 years ago by madair

Milestone: 2.1

Milestone 2.1 deleted

Note: See TracTickets for help on using tickets.