[Mapguide-trac] [mapguide-trac] #2124: Incorrect order of folders in MapDefinition
MapGuide Open Source
trac_mapguide at osgeo.org
Tue Sep 18 00:36:29 PDT 2012
#2124: Incorrect order of folders in MapDefinition
-----------------------+----------------------------------------------------
Reporter: gBecker | Owner: jng
Type: defect | Status: new
Priority: high | Milestone: Maestro-5.0
Component: Maestro | Version: 2.4.0
Severity: trivial | Keywords:
External_id: |
-----------------------+----------------------------------------------------
Suppose you have the following structure in MapDefinition:
FolderA[[BR]]
|_ Folder1[[BR]]
|_ Folder2[[BR]]
then the plain order of the layergroups in xml is:
Folder_A[[BR]]
Folder_1[[BR]]
Folder_2[[BR]]
Now push the button to move up Folder_2 to be the top child of Folder_A
and lets say you pushed it accidentally one time to much. The resulting
display seems to be correct
FolderA[[BR]]
|_ Folder2[[BR]]
|_ Folder1[[BR]]
but in xml the order is now
Folder_2[[BR]]
Folder_A[[BR]]
Folder_1[[BR]]
I think this is not correct even though the xml is valid related to its
scheme.
As a sidenote: I've got some problems with this faulty xml structure when
adding layers programmaticaly to the runtime map. The layers where added
correctly but the AJAX viewer doesn't respond anymore. I've got no error
message an even no log entries in error.log so that it tooks me a while to
figure out the problem.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2124>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list