Closed (fixed)
Project:
Drupal core
Version:
9.5.x-dev
Component:
field system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Jul 2022 at 10:04 UTC
Updated:
11 Oct 2022 at 10:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #4
amarlata#patch created
Comment #5
amarlataComment #6
jonathanshawThe patch changes look ok, but it's malformed in some way.
Easiest fix for a small change like this is to use the web IDE in the merge request. No need to make a patch file then.
Comment #7
reenaraghavan commentedModified EntityReferenceFormatterTest file where the code uses ->name->value
Comment #8
lucasscThe changes from #7 look great and tests are passing, so I'm going to mark this as "Reviewed & Tested by the Community".
Comment #9
reenaraghavan commentedI have committed and pushed the MR for the same.
Comment #10
quietone commented@lucassc, thank you for reviewing the patch! The patch may look good but is it changing all instances of
->name->value? Have any been missed by accident? In cases like this it is better to apply the patch locally and search for any other instances that need to be changed.@reenaraghavan, the patch file is sufficient. There is no need to have an MR.
Just one thing to do, setting this back to NW for confirmation that there are no other occurrences to fix.
Thanks!
Comment #11
sourabhjainI will check the #10 comment concern.
Comment #12
sourabhjainI have reviewed the patch #7 and its looks fine and no other instance in of ->name()->value in EntityReferenceFormatterTest file.
Attaching the screenshot
Comment #13
lucassc@quietone, thanks for mentoring!
Comment #15
alexpottCommitted and pushed 94a4059666 to 10.1.x and 84d1183c3a to 10.0.x and 5839fb2cab to 9.5.x. Thanks!
Crediting @larowlan for coming up with the issue and @quietone for mentoring.
Backported to 9.5.x as this is a test only fix.