Opened 16 years ago

Closed 16 years ago

#836 closed defect (fixed)

Allow insert of NULL values

Reported by: ksgeograf Owned by: brucedechant
Priority: medium Milestone: 2.1
Component: Feature Service Version: 2.0.2
Severity: minor Keywords:
Cc: External ID:

Description (last modified by brucedechant)

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.

Attachments (1)

Handle NULL values on INSERT.diff (9.0 KB ) - added by ksgeograf 16 years ago.

Download all attachments as: .zip

Change History (5)

by ksgeograf, 16 years ago

comment:1 by tomfukushima, 16 years ago

Owner: set to brucedechant

Bruce, could you handle this?

comment:2 by brucedechant, 16 years ago

Sure - I'll take a look at this within the next few days.

comment:3 by brucedechant, 16 years ago

Status: newassigned

comment:4 by brucedechant, 16 years ago

Description: modified (diff)
Resolution: fixed
Status: assignedclosed

r3615 - Trunk

Note: See TracTickets for help on using tickets.