[mapguide][MG391][New] Ajax Java Viewer does not behave correctly after Platform co...

Trevor Wekel trevor.wekel at autodesk.com
Fri Sep 15 18:17:11 EDT 2006


You can view the artifact detail at the following URL:

    https://mapguide.osgeo.org/servlets/Scarab/id/MG391

Type
 Defect

Artifact ID
 MG391 (Ajax Java Viewer does not behave correctly after Platform code refactoring)

Reported by
 Trevor Wekel
 trevorwekel (trevor.wekel at autodesk.com)

New artifact details:
---------------------------------------------------------

- Defect Severity set to new value
  Medium
- Artifact created
- Description set to new value
  MG367 introduced a small API change to MgLayerCollection::GetItem().  A base class (MgLayerBase) is now returned.  This object is an MgLayer object but Java does not automatically downcast MgLayerBase to the derived MgLayer.

This submission fixes the defect by adding an explicit (MgLayer) typecast to the scripts.
- Priority set to new value
  P2
- Steps to Reproduce set to new value
  Run the Ajax viewer using the Tomcat/JSP setup.  It does not behave correctly.
- Resolution Description set to new value
  Code fix submitted.
- Submission Reviewed set to new value
  No
- Developer Notes set to new value
  MgLayerCollection and MgMapCollection now return MgLayerBase and MgMapBase objects.  These objects are still an MgLayer and MgMap but .Net and Java require explicit downcasts to assign these objects to MgLayer and MgMap references.
- Operating system set to new value
  All
- Version set to new value
  1.0.1
- Platform set to new value
  All
- Target milestone set to new value
  1.1.0
- Artifact Status set to new value
  New
- Testing Notes set to new value
  MgLayerCollection and MgMapCollection now return MgLayerBase and MgMapBase objects.  These objects are still an MgLayer and MgMap but .Net and Java require explicit downcasts to assign these objects to MgLayer and MgMap references.
- Subcomponent set to new value
  AJAX Viewer
- Related Artifacts set to new value
  MG367
- Summary set to new value
  Ajax Java Viewer does not behave correctly after Platform code refactoring
- Component set to new value
  Web Server Extensions
- Documentation Notes set to new value
  MgLayerCollection and MgMapCollection now return MgLayerBase and MgMapBase objects.  These objects are still an MgLayer and MgMap but .Net and Java require explicit downcasts to assign these objects to MgLayer and MgMap references.
- Resolution set to new value
  Submitted

---------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Mapguide_issues mailing list