[mapguide][MG443][New] Typecasting of MgCoordinate to derived classes fails
Trevor Wekel
trevor.wekel at autodesk.com
Wed Nov 1 12:24:42 EST 2006
You can view the artifact detail at the following URL:
https://mapguide.osgeo.org/servlets/Scarab/id/MG443
Type
Defect
Artifact ID
MG443 (Typecasting of MgCoordinate to derived classes fails)
Reported by
Trevor Wekel
trevorwekel (trevor.wekel at autodesk.com)
New artifact details:
---------------------------------------------------------
- Resolution Description set to new value
MgCoordinate derived classes were misssing CLASS_ID in their headers so IMake/Swig could not generate the appropriate casting logic.
A bug in IMake prevented property autogeneration when additional tokens appeared between the method name and the __get/__set comment eg:
GetX() = 0; /// __get
The extra two tokens caused the generation logic to fail.
- Priority set to new value
P3
- Operating system set to new value
All
- Subcomponent set to new value
General
- Component set to new value
Web Server Extensions
- Description set to new value
MgCoordinate cannot be cast to MgCoordinateXY, XYZ, XYM, and XYZM. .Net autogenerated properties are not visible for MgCoordinate and a variety of other classes.
- Artifact created
- Steps to Reproduce set to new value
Casting and MgCoordinate to MgCoordinateXY returns a null reference in .Net. Properties are not visible for MgCoordinate in the Visual Studio 2005 class explorer.
- Summary set to new value
Typecasting of MgCoordinate to derived classes fails
- Defect Severity set to new value
Low
- Submission Reviewed set to new value
No
- Version set to new value
1.0.2
- Artifact Status set to new value
New
- Target milestone set to new value
1.1.0
---------------------------------------------------------
This message was automatically generated by Project Tracker.
More information about the Mapguide_issues
mailing list