Opened 14 years ago

Closed 14 years ago

#666 closed enhancement (fixed)

XML Schema Reader: check association consistency

Reported by: brentrobinson Owned by: brentrobinson
Priority: minor Milestone: 3.6.0
Component: FDO API Version:
Severity: 3 Keywords: XML merge Association Property
Cc: External ID:

Description

When the following steps are done, no errors are reported:

  • create a feature schema with 2 classes
  • add an association property to one class that references the other class.
  • set the identityProperties and reverseIdentityProperties on the association property
  • Create and XML file that defines the same schema but that has a different data type for one of the association property's identity properties
  • Use FeatFeatureSchemaCollection::ReadXML, to read the XML file and merge it with the feature schema

However, there is now an inconsistency between the data types for the association identity properties and reverse identity properties

Change History (1)

comment:1 by brentrobinson, 14 years ago

Resolution: fixed
Status: newclosed

Revision: 5560 Author: brentrobinson Date: 11:07:34 AM, Tuesday, July 20, 2010 Message: Ticket#666: Modified FdoSchemaMergeContext to report inconsistencies introduced into association identity properties.


Modified : /trunk/Fdo/UnitTest/SchemaTest.cpp Modified : /trunk/Fdo/UnitTest/SchemaTest.h Added : /trunk/Fdo/UnitTest/schema_ref_err3_master.txt Modified : /trunk/Fdo/UnitTest/schema_refs_err_master.txt Modified : /trunk/Fdo/Unmanaged/Inc/Fdo/Schema/AssociationPropertyDefinition.h Modified : /trunk/Fdo/Unmanaged/Src/Fdo/Schema/AssociationPropertyDefinition.cpp Modified : /trunk/Fdo/Unmanaged/Src/Fdo/Schema/MergeContext.cpp

Note: See TracTickets for help on using tickets.