[mapguide-trac] #993: After commiting resources through Mapguide
API the reloaded map AJAX viewer produces HTML error which breaks map
MapGuide Open Source
trac_mapguide at osgeo.org
Wed May 20 11:41:40 EDT 2009
#993: After commiting resources through Mapguide API the reloaded map AJAX viewer
produces HTML error which breaks map
---------------------------+------------------------------------------------
Reporter: cagray | Owner:
Type: defect | Status: new
Priority: medium | Milestone:
Component: AJAX Viewer | Version: 2.1.0
Severity: major | Keywords:
External_id: |
---------------------------+------------------------------------------------
After editing or creating a layer's resource xml and submitting it to the
MapGuide repository (session or library) using the dotNet MapGuide API,
the AJAX viewer produces HTML which seems to have an unmatched META tag if
you reload (not refresh) the map or the iframe containing the map. This
breaks the AJAX viewer. The error is:
Error: mismatched tag. Expected: </meta>.
Source File: http://dias/mapguide/mapagent/mapagent.fcgi
Line: 6, Column: 3
Source Code:
</head>
(This error is shown in Firefox's error console). This error means that
once you zoom in or out the map disappears. As soon as you click on the
'Initial Map View' button the map/HTML no longer has this error and
functions correctly.
This did not occur in version 2.0. It may be worth noting that this error
occurred many more times in initial 2.1 versions but latest install (0.7)
it occurs less but still a significant amount to make the AJAX unusable
when updating/adding resources via the dotNET API which requires a map
reload.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/993>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list