Opened 16 years ago
Closed 12 years ago
#993 closed defect (fixed)
After commiting resources through Mapguide API the reloaded map AJAX viewer produces HTML error which breaks map
Reported by: | cagray | Owned by: | |
---|---|---|---|
Priority: | medium | Milestone: | |
Component: | AJAX Viewer | Version: | 2.1.0 |
Severity: | major | Keywords: | |
Cc: | External ID: |
Description
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.
Closing due to ticket inactivity