Ticket #836 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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) (diff)

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

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

Change History

Changed 4 years ago by ksgeograf

Changed 4 years ago by tomfukushima

  • owner set to brucedechant

Bruce, could you handle this?

Changed 4 years ago by brucedechant

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

Changed 4 years ago by brucedechant

  • status changed from new to assigned

Changed 4 years ago by brucedechant

  • status changed from assigned to closed
  • resolution set to fixed
  • description modified (diff)

r3615 - Trunk

Note: See TracTickets for help on using tickets.