[Mapguide-trac] [mapguide-trac] #2333: Selection type is missing from the Maestro5 API enum OSGeo.MapGuide.MaestroAPI.ResourceType

MapGuide Open Source trac_mapguide at osgeo.org
Mon Aug 5 05:46:23 PDT 2013


#2333: Selection type is missing from the Maestro5 API enum
OSGeo.MapGuide.MaestroAPI.ResourceType
-----------------------+----------------------------------------------------
   Reporter:  hm       |       Owner:  jng                    
       Type:  defect   |      Status:  new                    
   Priority:  low      |   Milestone:  Maestro-5.0-maintenance
  Component:  Maestro  |     Version:                         
   Severity:  minor    |    Keywords:                         
External_id:           |  
-----------------------+----------------------------------------------------
 Hi, I notised that the Selection type is missing from the Maestro5 API
 enum OSGeo.MapGuide.MaestroAPI.ResourceTypes?

 It wasn't present in Maestro4 API either, but with Maestro5 it fails when
 running this command:

 con.ResourceService.CopyResource("Session:abcxyz//MyMap.Selection",
 "Session:abcxyz//MyMapCopy.Selection", true);

 Internally the API is converting the extension string "Selection" to an
 enum, but fails becasue it does not exist.
 Adding Selection to the enum in OSGeo.MapGuide.MaestroAPI\Enums.cs fixes
 the problem.

 I guess the new API runs some code different than the old API since it now
 causes problems, and not before.

 Best regards
   Hans Milling...

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


More information about the mapguide-trac mailing list