Closed (fixed)
Project:
Security Review
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Apr 2020 at 19:46 UTC
Updated:
8 Nov 2022 at 20:13 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jenlamptonAdding complete issue title.
Comment #3
douggreen commentedWe need to use EntityInterface instead of Entity.
Comment #4
douggreen commentedThis was introduced in the very last commit #2988514: Field check gets fatal error when using Paragraphs (or other entity without edit or canonical routes) but that was 2 years ago.
Comment #5
gregglesThanks for this fix, @douggreen!
Comment #7
gregglesNow committed. Thanks for reporting the issue jenlampton and for fixing it, douggreen!
Comment #12
smustgrave commentedComment #13
gregglesThanks for doing that, smustgrave. To explain the credit, those 3 folks worked on a duplicate issue at #3077541: TypeError: Argument 1 passed to Drupal\security_review\Checks\Field::getEntityLink().