Opened 10 years ago

Closed 10 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 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by ksgeograf

comment:1 Changed 10 years ago by tomfukushima

Owner: set to brucedechant

Bruce, could you handle this?

comment:2 Changed 10 years ago by brucedechant

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

comment:3 Changed 10 years ago by brucedechant

Status: newassigned

comment:4 Changed 10 years ago by brucedechant

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

r3615 - Trunk

Note: See TracTickets for help on using tickets.