[mapguide-trac] #853: Error when a dot is in Folderpath
MapGuide Open Source
trac_mapguide at osgeo.org
Fri Feb 13 09:26:43 EST 2009
#853: Error when a dot is in Folderpath
------------------------+---------------------------------------------------
Reporter: dl9ekd | Owner: ksgeograf
Type: defect | Status: new
Priority: low | Milestone:
Component: Maestro | Version: 2.0.1
Severity: critical | Keywords:
External_id: |
------------------------+---------------------------------------------------
When in a folder in repository is a dot (.), Maestro truncated at this
point and the path is defekt.
Exsample: "Library://Project/Data/S. Name/" the last node in tree is only
"S" instead of "S.Name".
The defect function is in
"public string GetResourceNameFromResourceID(string resourceID)" function
in file ResourceEditorMap.cs.
My hotfix is to check if the resourceId ends with "/" and then skip the
substring-part.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/853>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list