Opened 12 years ago

Closed 12 years ago

#511 closed defect (fixed)

Error message when layer name starting with number in MapGuide

Reported by: sparkliu Owned by: madair
Priority: P3 Milestone:
Component: MapGuide Version:
Severity: Minor Keywords:
Cc: Browser: All
External ID: Operating System: All
state: New

Description

  1. Create a layer with name "0"
  2. Add it to map
  3. Open Fusion with that map and try to select a feature on that layer.

You'll find an error message "Unable to get value of the property 'getNumElements': object is null or undefined"

When Fusion try to store selection set in session, it uses layer name as property name, but PHP doesn't allow property name beginning with number. That's the reason.

Attachments (1)

Fix ticket 511.patch (4.2 KB ) - added by sparkliu 12 years ago.
Fix patch

Download all attachments as: .zip

Change History (2)

by sparkliu, 12 years ago

Attachment: Fix ticket 511.patch added

Fix patch

comment:1 by sparkliu, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.