Ticket #152 (new enhancement) — at Initial Version
Package has editable 'Extra' fields
Reported by: | dread | Owned by: | dread |
---|---|---|---|
Priority: | major | Milestone: | v0.11 |
Component: | ckan | Keywords: | |
Cc: | Repository: | ||
Theme: |
Description
Package edit page has fields for extra key-value pairs. Don't use formalchemy. The form displays the existing ones and new ones as follows:
Key Value delete [ country ] [ uk, spain ] [x]
When presenting the form, existing pairs and 3 blank pairs are provided.
When saving the data, keys that are not changed use the existing PackageExtra? object (perhaps with new value). Deleted keys put the PackageExtra? state to deleted. For new keys, only create a new PackageExtra? if there isn't a state=deleted one to resurrect.
Validators ensure no repeated keys.
Note: See
TracTickets for help on using
tickets.