Opened 16 years ago

Closed 12 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: dev
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 by Chris Beaven, 16 years ago

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 by Thejaswi Puthraya, 16 years ago

Component: UncategorizedSerialization

comment:3 by Luke Plant, 14 years ago

Severity: Normal
Type: New feature

comment:4 by Aymeric Augustin, 13 years ago

UI/UX: unset

Change UI/UX from NULL to False.

comment:5 by Aymeric Augustin, 13 years ago

Easy pickings: unset

Change Easy pickings from NULL to False.

comment:6 by Roman Gladkov, 12 years ago

Cc: d1fffuz0r@… added

comment:7 by Roman Gladkov, 12 years ago

Version: 1.0master

comment:8 by Preston Holmes <preston@…>, 12 years ago

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