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
#2949964: Add an EntityOwnerTrait to standardize the base field needed by EntityOwnerInterface got its update numbers wrong.
Proposed resolution
Update them quickly.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#9 | interdiff.txt | 1.53 KB | longwave |
#9 | 2999306-9.patch | 7.07 KB | longwave |
#8 | 2999306-6.patch | 6.34 KB | alexpott |
#8 | 0-6-interdiff.txt | 620 bytes | alexpott |
2949964-quick-follow-up.patch | 6.23 KB | alexpott | |
Comments
Comment #2
alexpottComment #4
alexpottThis was spotted and reported to irl by @chr.fritsch
Comment #5
Sam152 CreditAttribution: Sam152 as a volunteer and at PreviousNext commentedPhew, good catch! From what I can tell, there are no side effects from running these twice, so any risk here pretty well mitigated.
Comment #6
longwaveThis test method has a misleading name now.
edit: this is actually wrong
Comment #7
longwaveI don't think these should change? But comment_update_8601 doesn't exist, as tested here?
This patch also doesn't touch core/modules/comment/tests/src/Functional/Update/CommentUpdateTest.php
Comment #8
alexpott@longwave++
Comment #9
longwaveNo, that is not right, that test is misnamed already - it's for a post_update hook.
Fixed here, out of scope but I hope that is ok.
Comment #10
alexpott@longwave I think that fixing update numbering and test names is in scope.
Comment #11
chr.fritschAll the changes are looking good to me.
Comment #12
alexpottCommitted e432eea and pushed to 8.7.x. Thanks!