[Mapguide-trac] [mapguide-trac] #2531: Coordinate System test suite errors out setting user dictionary path

MapGuide Open Source trac_mapguide at osgeo.org
Tue Jan 27 05:06:29 PST 2015


#2531: Coordinate System test suite errors out setting user dictionary path
-----------------------+----------------------------------------------------
   Reporter:  jng      |       Owner:  jng
       Type:  defect   |      Status:  new
   Priority:  low      |   Milestone:  3.0
  Component:  General  |     Version:     
   Severity:  trivial  |    Keywords:     
External_id:           |  
-----------------------+----------------------------------------------------
 When running the Coordinate System test suite on my machine, it is
 throwing errors on
 {{{TestCoordinateSystem::SetDefaultUserDictionaryDir()}}}

 This is because it was failing trying to create the directory
 {{{C:\Users\<username>\AppData\Local\Autodesk\User Geospatial Coordinate
 Systems}}} because the parent directory
 {{{C:\Users\<username>\AppData\Local\Autodesk}}} did not exist.

 The fix is to invoke MgFileUtil::CreateDirectory() with {{{strict =
 false}}} and {{{recurse = true}}}

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


More information about the mapguide-trac mailing list