Problem/Motivation
Right now, created-type fields are exported by the default content exporter. But this really doesn't make a lot of sense; when you import default content, you probably want that content to carry the time it was imported, not the time it was created by whoever originally built that default content.
Proposed resolution
We already ignore changed fields; let's also ignore created fields.
Issue fork drupal-3557465
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3557465-the-default-content
changes, plain diff MR !13806
Comments
Comment #3
phenaproximaComment #4
phenaproximaThere's no need for explicit test coverage here; the removal of
createdfrom the default content fixture is sufficient, becauseContentExportTestalready asserts that the exported content is identical to what's in the fixture.Comment #5
thejimbirch commentedThanks, moving to RTBC.
Comment #6
alexpottI can see why you might want this though... but also @phenaproxima tells me an event subscriber can add it back in. So lets add a CR and tell people how to do that.
Comment #7
phenaproximaDone. https://www.drupal.org/node/3557689
Comment #8
alexpottCommitted and pushed 2b63f874753 to 11.x and 06d7aaadbe9 to 11.3.x. Thanks!