[fdo][FDO100][New] Defect 750920: FdoXmlFeatureSerialize.XMLSerialize() causes ...
Brent Robinson
brent.robinson at autodesk.com
Thu Jul 27 10:00:41 EDT 2006
You can view the artifact detail at the following URL:
https://fdo.osgeo.org/servlets/Scarab/id/FDO100
Type
Defect
Artifact ID
FDO100 (Defect 750920: FdoXmlFeatureSerialize.XMLSerialize() causes Bad parameter to method exception)
Reported by
Brent Robinson
brentrobinson (brent.robinson at autodesk.com)
New artifact details:
---------------------------------------------------------
- Resolution Description set to new value
- Modified the FdoXmlFeatureWriter constructor that takes an FdoXmlWriter. It now wraps an FdoXmlFeaturePropertyWriter around the FdoXmlWriter. This resolves the "bad parameter" error.
- While testing the fix, found that base property values are not written out when features are serialized. Modified FdoXmlFeatureSerializer to write out values for base properties for each feature.
- Another problem found while testing was that, when multiple features are serialized to XML, object and association property values are only written for the first feature. FdoXmlFeatureWriter was changed to reset the caching state after an object or association property is written.
- Steps to Reproduce set to new value
1/ Create, setup, and Execute the Select Command to get a Feature Reader.
2/ Create the FdoXmlWriter and FdoXmlFeatureWriter with the Fd0XmlWriter
FdoXmlWriter = FdoXmlWriter.Create( sFileName, True, FdoXmlWriter.LineFormat_Indent, 0 )
xmlFeatureWriter = FdoXmlFeatureWriter.Create( FdoXmlWriter, None )
3/ Create the FdoXmlFeatureFlags
xmlFeatureFlags = FdoXmlFeatureFlags.Create( None, FdoXmlFlags.ErrorLevel_Normal, True, FdoXmlFeatureFlags.ConflictOption_Add )
4/ Serialize the features to XML using the FdoXmlFeeatureSerializer.XmlSerialize()
FdoXmlFeatureSerializer.XmlSerialize( featureReader, xmlFeatureWriter, xmlFeatureFlags )
The last call to XmlSerialize() causes "Bad parameter to method"
- Developer Notes set to new value
See Resolution Description.
- Subcomponent set to new value
XML IN/OUT
- Component set to new value
FDO
- Testing Notes set to new value
A case was added to GmlWriteTest to exercise the case where an FdoXmlFeatureWriter is created around an FdoXmlWriter
- Target milestone set to new value
3.2.0
- Defect Severity set to new value
High
- Artifact created
- Operating system set to new value
All
- Platform set to new value
All
- Description set to new value
FdoXmlFeatureSerialize.XMLSerialize() causes Bad parameter to method exception, when created with an FdoXmlWriter.
- Priority set to new value
P2
- Summary set to new value
Defect 750920: FdoXmlFeatureSerialize.XMLSerialize() causes Bad parameter to method exception
- Artifact Status set to new value
New
- Build set to new value
G012
- Version set to new value
V1
Reason:
Fix an assigned Granite defect
---------------------------------------------------------
This message was automatically generated by Project Tracker.
More information about the Fdo_issues
mailing list