[mapguide-trac] #890: One exception happened with load procedure when Library data file folder doesn't exist.

MapGuide Open Source trac_mapguide at osgeo.org
Mon Mar 16 08:59:10 EDT 2009


#890: One exception happened with load procedure when Library data file folder
doesn't exist.
--------------------------+-------------------------------------------------
 Reporter:  stevenxu      |         Owner:  stevedang
     Type:  defect        |        Status:  new      
 Priority:  medium        |     Milestone:  2.2      
Component:  Site Service  |       Version:  2.0.1    
 Severity:  major         |    Resolution:           
 Keywords:                |   External_id:  1200756  
--------------------------+-------------------------------------------------
Comment (by stevenxu):

 The latest patch of Ticket890_V2.patch made the all changes of steve
 dang's comments, expect that, I changed the function name as
 'CreateDirectoryEx' in Common/Foundation/System/FileUtil.h, instead of
 'CreateDirectory'.

 As following:

 static void CreateDirectory(CREFSTRING path, bool strict = false);

 static void CreateDirectoryEx(CREFSTRING path, bool recursive = true,
 bool strict = false);

 For the default value of the parameter, the same function names would
 result in ambiguous overloaded functions.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/890#comment:9>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list