Opened 16 years ago
Last modified 16 years ago
#836 closed defect
Allow insert of NULL values — at Initial Version
Reported by: | ksgeograf | Owned by: | |
---|---|---|---|
Priority: | medium | Milestone: | 2.1 |
Component: | Feature Service | Version: | 2.0.2 |
Severity: | minor | Keywords: | |
Cc: | External ID: |
Description
The current MapGuide implementation does not allow insertion of NULL values, using the "MgInsertFeatures"/"MgUpdateFeatures".
The reason is that the ServerFeatureUtil::MgPropertyToFdoDataValue fails to check for null values.
The attached patch correctly converts properties of type MgNullableProperty to the corresponding FDO null values.
The patch compiles correctly, but I am unsure if all the tested property types actually derive from MgNullableProperty (but they should).
Note:
See TracTickets
for help on using tickets.