Skip to content

lenient datastore_upsert #7358

@wardi

Description

@wardi

CKAN version

master

Describe the bug

passing an empty value for a date or other numeric field could store null in the field instead of raising an error

Steps to reproduce

upsert '' as a value to a datetime, numeric, etc. datastore field

Expected behavior

not cause a db error

Additional details

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions