Opened 11 years ago

Closed 11 years ago

#2198 closed defect (fixed)

ApplySchema does not take in class/schema deletions

Reported by: jng Owned by:
Priority: high Milestone:
Component: General Version: 2.4.0
Severity: blocker Keywords:
Cc: External ID:

Description

If you mark a schema or class definition as deleted and apply the changes through MgFeatureService::ApplySchema, the deletions do not occur.

The problem is that for MgClassDefinition and MgFeatureSchema, the deletion flag is not persisted in the serialization/deserialization when it travels from the Web Tier to the Server Tier.

This is why the server-only unit test for ApplySchema passes, but the attached PHP equivalent test fails.

Attachments (4)

applyschematest.php (11.8 KB ) - added by jng 11 years ago.
PHP test
Empty.sdf (350.0 KB ) - added by jng 11 years ago.
Empty.FeatureSource (322 bytes ) - added by jng 11 years ago.
2198.patch (1.4 KB ) - added by jng 11 years ago.
Serialization fix

Download all attachments as: .zip

Change History (5)

by jng, 11 years ago

Attachment: applyschematest.php added

PHP test

by jng, 11 years ago

Attachment: Empty.sdf added

by jng, 11 years ago

Attachment: Empty.FeatureSource added

by jng, 11 years ago

Attachment: 2198.patch added

Serialization fix

comment:1 by jng, 11 years ago

Resolution: fixed
Status: newclosed

Fixed r7278

Note: See TracTickets for help on using tickets.