Opened 8 years ago

Closed 4 years ago

#9279 closed New feature (fixed)

loaddata should have an option to ignore data for fields that no longer exist

Reported by: erichs@… Owned by: nobody
Component: Core (Serialization) Version: master
Severity: Normal Keywords:
Cc: d1fffuz0r@… Triage Stage: Someday/Maybe
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

For developers it would be a very nice if loaddata had an option --ignorenonexistent, that just ignores entries in the serialised data for fields that have been removed from the database. At the moment I see myself going through endless text files, deleting all the entries for these fields, just to port the data across.

I'm not suggesting that this should ever be the default behaviour.

Change History (8)

comment:1 Changed 8 years ago by Chris Beaven

Triage Stage: UnreviewedSomeday/Maybe

Yeah, that could be useful. If someone wants to write the patch, I'm sure it'll be looked at.

comment:2 Changed 8 years ago by Thejaswi Puthraya

Component: UncategorizedSerialization

comment:3 Changed 6 years ago by Luke Plant

Severity: Normal
Type: New feature

comment:4 Changed 5 years ago by Aymeric Augustin

UI/UX: unset

Change UI/UX from NULL to False.

comment:5 Changed 5 years ago by Aymeric Augustin

Easy pickings: unset

Change Easy pickings from NULL to False.

comment:6 Changed 4 years ago by Roman Gladkov

Cc: d1fffuz0r@… added

comment:7 Changed 4 years ago by Roman Gladkov

Version: 1.0master

comment:8 Changed 4 years ago by Preston Holmes <preston@…>

Resolution: fixed
Status: newclosed

In e7723683dc652613df369d5ca412e8b1217012d3:

Fixed #9279 -- Added ignorenonexistent option to loaddata

Thanks to Roman Gladkov for the initial patch and Simon Charette for review.

Note: See TracTickets for help on using tickets.
Back to Top