NamedCollection reference

Trevor Wekel trevor.wekel at autodesk.com
Fri Nov 3 11:10:05 EST 2006


Hi Greg,
 
Many named collections in MapGuide do not allow duplicates because the
name is used as a key.  MgLayerCollection and MgGroupCollection which
are part of MgMap do not allow duplicates.  This might be the cause of
the exception your are seeing.  Do all of your layers and groups have
unique names?
 
Another place to check is the feature properties.  Feature property
names may also be expected to be unique.
 
Hope this helps,
Trevor

  _____  

From: Knight, Gregory [mailto:Gregory.Knight.bra at cityofboston.gov] 
Sent: Thursday, November 02, 2006 2:52 PM
To: users at mapguide.osgeo.org
Subject: NamedCollection reference



I am getting the following error when loading a mg page that retrieves
feature properties from a selected feature.

 

Duplicate object.Duplicate object. Exception occurred in method
CheckDuplicate at line 491 in file
c:\build_tux_area\mgdev_opensource\common\service\data\NamedCollection.c
pp  

 

How do I go about troubleshooting this?

 

Greg Knight

  _____  



The substance of this message, including any attachments, may be
confidential, legally
privileged and/or exempt from disclosure pursuant to Massachusetts
law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and
delete the material from any computer.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide_users/attachments/20061103/b271996f/attachment.html


More information about the Mapguide_users mailing list