[mapguide-trac] #1376: Error with SetResource

MapGuide Open Source trac_mapguide at osgeo.org
Sat Jun 12 08:25:02 EDT 2010


#1376: Error with SetResource
--------------------------------+-------------------------------------------
   Reporter:  andymorf          |       Owner:       
       Type:  defect            |      Status:  new  
   Priority:  high              |   Milestone:  2.2  
  Component:  Resource Service  |     Version:  2.2.0
   Severity:  major             |    Keywords:       
External_id:                    |  
--------------------------------+-------------------------------------------
 After unpredictable run time of mgserver the following exception is
 thrown:

 A length exception occurred.
 string too long
 - MgLayerBase.GetLayerInfoFromDefinition() line 695 file
 d:\development\mgdev_21\common\platformbase\MapLayer/LayerBase.cpp
 ...

 It is thrwon in the followin code sequence at the SetResource command (to
 store a resource in the session repository):

 resourceService.SetResource(newLayerResId, layerDefContent, null);
 layer.SetLayerDefinition(newLayerResId, resourceService);

 And any following application of SetResource-command leads to the same
 exception!

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1376>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list