Opened 15 years ago

Last modified 12 years ago

#42 new defect

Adding new features with null attribute fields fails

Reported by: woodbri Owned by:
Priority: major Milestone: 1.8.0
Component: widgets Version:
Keywords: Cc:

Description

When you add new features to a featureserver datasource any integer fields that are empty are treated as a string "" and fail the PUT request. Empty fields should be treated as NULL. Maybe the right thing to do is filter out those fields before making the request. This does not work for edits because you might want to actually change a field with a value to a null.

Also, this error is NOT handled by the UI and there is no clean up or appropriate error displayed to the user.

Change History (4)

comment:1 by adube, 13 years ago

Milestone: 1.1.0

This seems like an important issue, so I'm putting it in 1.1.0.

comment:2 by adube, 13 years ago

Milestone: 1.2.01.4.0

Feature editing won't be 1.2 objectives. Pushed to 1.4.

comment:3 by adube, 12 years ago

Milestone: 1.4.01.6.0

No patch, pushed to 1.6.

comment:4 by adube, 12 years ago

Milestone: 1.6.01.8.0

No patch, pushed to 1.8.

Note: See TracTickets for help on using tickets.