Closed (fixed)
Project:
Drupal core
Version:
9.1.x-dev
Component:
entity system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Apr 2021 at 11:32 UTC
Updated:
27 Apr 2021 at 10:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jibranComment #3
abhijith s commentedApplied patch #2 and the square brackets are added in it.
RTBC +1
Comment #4
mondrakeMakes sense. I wonder if this could be tested? Is it possible to extract the underlying SQL statement from an entity query?
Comment #5
jibranYes, it is possible.
Comment #8
catchCommitted dcad943 and pushed to 9.2.x. Thanks!
No need for test coverage of whether the query has square brackets or not, if anything it would be a phpcs rule but hard to make one that covers every possibility.
@Abhijith S there's no need to provide a screenshot of the patch applying, since DrupalCI confirms that for us.