Opened 7 years ago

Closed 3 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 7 years ago by SmileyChris

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Someday/Maybe

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

comment:2 Changed 6 years ago by thejaswi_puthraya

  • Component changed from Uncategorized to Serialization

comment:3 Changed 4 years ago by lukeplant

  • Severity set to Normal
  • Type set to New feature

comment:4 Changed 4 years ago by aaugustin

  • UI/UX unset

Change UI/UX from NULL to False.

comment:5 Changed 4 years ago by aaugustin

  • Easy pickings unset

Change Easy pickings from NULL to False.

comment:6 Changed 3 years ago by d1ffuz0r

  • Cc d1fffuz0r@… added

comment:7 Changed 3 years ago by d1ffuz0r

  • Version changed from 1.0 to master

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

  • Resolution set to fixed
  • Status changed from new to closed

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