Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#161 closed defect (fixed)

MG layers using filter containing double quotes cause legend error on startup

Reported by: chrisclaydon Owned by: pagameba
Priority: P2 Milestone: 2.0
Component: Widgets Version: SVN
Severity: Major Keywords:
Cc: Browser: All
External ID: 1152239 Operating System: All
state: Committed

Description

Load the attached MG package and view the Fusion layout. An error occurs on startup because the quotes in the filter for the layer's first theme get escaped twice.

i.e. " is replaced with
"

This causes an error when trying to parse the scale ranges. The error is displayed in a dialog, and the legend fails to render.

Attachments (1)

FusionFilterDefect.mgp (560.8 KB ) - added by chrisclaydon 16 years ago.
MG package that illustrates the problem

Download all attachments as: .zip

Change History (4)

by chrisclaydon, 16 years ago

Attachment: FusionFilterDefect.mgp added

MG package that illustrates the problem

comment:1 by pagameba, 16 years ago

Owner: changed from madair to pagameba
state: Analysis RequestedAnalysing
Status: newassigned

comment:2 by pagameba, 16 years ago

Resolution: fixed
Status: assignedclosed

(In [1653]) Fixes #161. addslashes was necessary when we were echo outputting the JSON response but var2json now escapes values so adding slashes for text is no longer required and in fact wrong because var2json escapes the slashes (causing this bug).

comment:3 by pagameba, 16 years ago

state: AnalysingCommitted
Note: See TracTickets for help on using tickets.