- 🇨🇦Canada jorielsaikali
I tested the automated patch which allowed the module to install but once I tested it on an Article, it broke and gave the error:
Drupal\Core\Entity\Query\QueryException: Entity queries must explicitly set whether the query should be access checked or not. See Drupal\Core\Entity\Query\QueryInterface::accessCheck(). in Drupal\Core\Entity\Query\Sql\Query->prepare() (line 141 of /app/web/core/lib/Drupal/Core/Entity/Query/Sql/Query.php).
This issue is related to Entity queries must explicitly set whether the query should be access checked or not 🐛 Entity queries must explicitly set whether the query should be access checked or not Fixed which I merged it's patch #8 by icurk → with the automated patch, and all applied cleanly and worked well. I tested with Drupal version 10.0.9.
I am uploading the merged patch.
- 🇨🇦Canada jorielsaikali
Re-uploading to match comment number. Sorry, I'm still new to contributing patches.
- 🇮🇳India rahul1707
I tried applying patch #6, however getting below errors while applying patch.
$ git apply -v prevnext-d10-compatible-3289140-6.patch
Checking patch modules/custom/prevnext/prevnext.info.yml...
error: modules/custom/prevnext/prevnext.info.yml: No such file or directory
Checking patch modules/custom/prevnext/src/PrevnextService.php...
error: modules/custom/prevnext/src/PrevnextService.php: No such file or directoryHence, created new patch with one change. Kindly review it.
- 🇮🇳India abhinavk
Patch #7 works fine for me in Drupal 10.0.9 and php 8.1. Functionality also works as expected.
Setting to RTBC. - Status changed to RTBC
over 1 year ago 12:48pm 25 May 2023 - 5537c6ef committed on 2.0.x
Issue #3289140 by jorielsaikali, rahul17: Automated Drupal 10...
- 5537c6ef committed on 2.0.x
- Status changed to Fixed
about 1 year ago 7:16pm 19 October 2023 Automatically closed - issue fixed for 2 weeks with no activity.