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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alexpott created an issue. See original summary.

alexpott’s picture

alexpott’s picture

This was spotted and reported to irl by @chr.fritsch

Sam152’s picture

Status: Needs review » Reviewed & tested by the community

Phew, good catch! From what I can tell, there are no side effects from running these twice, so any risk here pretty well mitigated.

longwave’s picture

+++ b/core/modules/comment/tests/src/Functional/Update/CommentHostnameUpdateTest.php
@@ -44,9 +44,9 @@ public function testCommentUpdate8600() {
   public function testCommentUpdate8601() {

This test method has a misleading name now.

edit: this is actually wrong

longwave’s picture

Status: Reviewed & tested by the community » Needs work
+++ b/core/modules/comment/tests/src/Functional/Update/CommentHostnameUpdateTest.php
@@ -44,9 +44,9 @@ public function testCommentUpdate8600() {
   /**
-   * Tests comment_update_8601().
+   * Tests comment_update_8700().
    *
-   * @see comment_update_8601
+   * @see comment_update_8700
    */
   public function testCommentUpdate8601() {

I 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

alexpott’s picture

Status: Needs work » Needs review
FileSize
620 bytes
6.34 KB

@longwave++

longwave’s picture

No, 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.

alexpott’s picture

@longwave I think that fixing update numbering and test names is in scope.

chr.fritsch’s picture

Status: Needs review » Reviewed & tested by the community

All the changes are looking good to me.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed e432eea and pushed to 8.7.x. Thanks!

  • alexpott committed e432eea on 8.7.x
    Issue #2999306 by longwave, chr.fritsch, alexpott: Update numbering -...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.