Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
When using the node migration from D6 -> D8 the revision_timestamp
field is not populated with source values but is instead filled with the time of the migration.
Proposed resolution
The information of when the last revision was created is readily available in the source database in node_revisions.timestamp
. Migrate that into the revision_timestamp
field.
Remaining tasks
User interface changes
API changes
Comment | File | Size | Author |
---|---|---|---|
#6 | 2333357-6-migrate-revision-timestamp.patch | 3.8 KB | tstoeckler |
Comments
Comment #1
tstoecklerThis seems to work. Will need tests and stuff, but would like some feedback first.
Comment #3
benjy CreditAttribution: benjy commentedI added the timestamp to the unit tests and then uncommented the test which was already there for the revision timestamp
Comment #4
tstoecklerAwesome, thanks a lot!
Comment #5
penyaskitoThat comment is really a detail from the migration, not the source itself. Why if I want to migrate it somewhere else, or discard it?
Not stopping this to be committed btw.
Is not in the patch, but I checked that this timestamp is used in the dumped data for the test.
Comment #6
tstoecklerYou are very correct! :-) Thanks!
Leaving at RTBC.
Comment #7
penyaskito+1
Comment #10
tstoeckler