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.
I think this is a regression from #2095595: Revision stores wrong uid
We kept having a few user_uuid fields that would stay overridden even when the containing feature was reverted.
It turned out that on production the content block had uid 1 and after reverting the feature it was set to 0.
Comment | File | Size | Author |
---|---|---|---|
#3 | uid_in_revision_lost-2625786-2.patch | 578 bytes | helmo |
Comments
Comment #2
DamienMcKennaIt might be worth writing some tests to confirm the expected behavior and avoid another regression.
Comment #3
helmo CreditAttribution: helmo at Initfour websolutions commentedI assume that when $user->uid == 0 we can skip this ... see patch.