Opened 13 years ago
Closed 13 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
- Create a layer with name "0"
- Add it to map
- 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)
Change History (2)
by , 13 years ago
Attachment: | Fix ticket 511.patch added |
---|
comment:1 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fix patch