Closed (fixed)
Project:
Lightweight Directory Access Protocol
Version:
8.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2023 at 09:53 UTC
Updated:
17 Oct 2023 at 16:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dineshkumarbollu commentedprovided patch for this please review.
Comment #4
lars.stiebenz commentedMy approach is basically the same as #3380653-2: Entity queries need an explicit accessCheck()-call in Drupal 10: The accessChecks are all set to FALSE since all the queries are used either on admin pages or in background processes.
Additionally I removed some queries entirely. At several places the query was used to get the IDs of all entities (mostly server configurations) and the result was only used as a parameter for loadMultiple(). Since loadMultiple() without a parameter loads all entities too, the query before should be unnecessary.
Or in code:
Old:
New:
"New" should give the same result as "Old" but with 1 query less.
Comment #8
bluegeek9 commented