Opened 2 years ago

Closed 2 years ago

#2846 closed defect (fixed)

CREATERUNTIMEMAP does not xml-encode layer names

Reported by: jng Owned by: jng
Priority: low Milestone: 4.0
Component: General Version: 3.1.0
Severity: trivial Keywords:
Cc: External ID:

Description (last modified by jng)

From https://github.com/jumpinjackie/mapguide-react-layout/issues/1401

A CREATERUNTIMEMAP operation against that particular map definition is skipping a whole bunch of layers for some reason.

UPDATE: The reason is because a few layer names have ampersand (&) characters that result in an invalid CREATERUNTIMEMAP XML response, which derails the JSON conversion at the layer which has an ampersand in its layer name

Change History (2)

comment:1 by jng, 2 years ago

Description: modified (diff)
Summary: CREATERUNTIMEMAP is skipping some layers in Map DefinitionCREATERUNTIMEMAP does not xml-encode layer names

comment:2 by jng, 2 years ago

Resolution: fixed
Status: assignedclosed

In 9951:

Ensure the following elements are XML-encoded in the CREATERUNTIMEMAP response:

  • Layer Names/Labels
  • Group Names/Labels
  • Feature source resource ids
  • Layer definition resource ids
  • Feature Source class name
  • Feature Source geometry property

Fixes #2846

Note: See TracTickets for help on using tickets.