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
#2882717: EntityResourceTestBase: assert that PATCHed and POSTed entities contain the intended values tightened the POST
REST test coverage. But it was unable to make its assertion work for the Term
entity type due to a bug in that entity type. That bug was being fixed in #2543726: Make $term->parent behave like any other entity reference field, to fix REST and Migrate support and de-customize its Views integration.
But #2543726 did not remove that work-around.
Proposed resolution
Remove the work-around that #2882717 introduced and that #2543726 should have removed but did not.
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2942522-2.patch | 1.5 KB | Wim Leers |
Comments
Comment #2
Wim LeersComment #3
borisson_Simple enough cleanup. The tests pass and this is a test-only change so I did not manually test this. Great work Wim!
Comment #4
alexpottCommitted 678a4c8 and pushed to 8.6.x. Thanks!
Not back ported cause #2543726: Make $term->parent behave like any other entity reference field, to fix REST and Migrate support and de-customize its Views integration is 8.6.x only.