- Issue created by @michรจle
- ๐จ๐ญSwitzerland michรจle
Thank you so much @ananya.k!
I was able to install the patch without any problems. I will test the functionality after the Drupal 11 upgrade (I'm currently in the preparation stages). - First commit to issue fork.
- Merge request !16Issue #3479745 by olmyr, ananya.k, michรจle: Drupal 11 Compatibility โ (Merged) created by olmyr
- ๐ฌ๐งUnited Kingdom steven jones
Hmm...thanks for the work here, I wonder if we need to wait for ACL to have a Drupal 11 version: ๐ Automated Drupal 11 compatibility fixes for acl Needs review
I wonder if we could get most of these changes into our module anyway, and leave off actual Drupal 11 support until ACL has it.
- ๐จ๐ญSwitzerland michรจle
Thank you, olmyr!
The merge request !16 seems to work very well with Drupal 10.3.6.
I will test the functionality after the Drupal 11 upgrade (I'm currently in the preparation stages). - ๐จ๐ญSwitzerland michรจle
@steven jones
I was not aware of the dependency with ACL.
Unfortunately, I cannot yet test whether Content Access works correctly with Drupal 11 (despite the lacking Drupal 11 version for ACL), as I cannot yet upgrade from Drupal 10.3.6 to Drupal 11 (PHP 8.3 is missing).
Do you think that it is not possible to install Drupal 11 as long as there is no Drupal 11 version for ACL? - ๐ฌ๐งUnited Kingdom steven jones
Ah, ACL is an optional dependency, so I think we can upgrade to Drupal 11 before ACL, we just can't test with ACL at the moment.
- ๐บ๐ฆUkraine alt.dev
I attach the latest patch from the MR just in case this task won't be merged soon.
- ๐จ๐ญSwitzerland michรจle
I can now confirm that the patch works with Drupal 11.0.5 (I have not installed ACL because I do not need the functionality).
- ๐ฎ๐ณIndia rahul1707
Verified changes from MR !16 in Drupal 10 and Drupal 11, functionality is working fine.
RTBC +1 - Status changed to RTBC
4 months ago 7:44pm 20 December 2024 - ๐จ๐ฆCanada mregnault
I had trouble installing the patch with Drupal 10.3.10, apparently some of the modifications on the
content_access.module
file can not be applied (the changed order in the use statements). I recreated a patch by changing just that and it works for me. I leave the patch here in case someone stumbles upon the same issue. - ๐ฉ๐ชGermany jurgenhaas Gottmadingen
RTBC+1, this would unlock a test blocker for other modules on Drupal 11 who depend on this.
- ๐ง๐ชBelgium flyke
I confirm #16: The MR did not apply to the latest dev, but patch from #17 did.
- ๐ฉ๐ชGermany jurgenhaas Gottmadingen
The MR applies nicely, so I'm wondering which code base you've tried to patch. Was it 2.0.0 or 2.0.x-dev?
- ๐ง๐ชBelgium flyke
@jurgenhaas: apologies, tried this today on another project that I have now successfully updated from D10.4 to D11.1.
The MR applied and all seems to be working. No idea why the MR did not apply to the other project, probably a confmicting patch or something. - ๐ณ๐ฑNetherlands a.kahn
I have used this module on Drupal-7, 9 and 10 websites. Looking forward for Drupal-11 version. Thanks.
- Status changed to Needs review
about 1 month ago 2:32pm 26 February 2025 - ๐ฌ๐งUnited Kingdom steven jones
ACL just got a stable release for Drupal 11, so we should be able to progress this properly now.
Let's go back to reviewing the MR.
- ๐ฌ๐งUnited Kingdom steven jones
All tests are passing in Drupal 10 and 11!
- ๐ฌ๐งUnited Kingdom steven jones
Spotted that we've got a function exists call that might be masking something, committed removing that and will see if the tests still pass, if they do then I think we can cut a 2.1.0-rc1 release.
-
steven jones โ
committed b6d49bd7 on 2.0.x authored by
olmyr โ
Issue #3479745 by olmyr, steven jones, ananya.k, rahul17, michรจle, flyke...
-
steven jones โ
committed b6d49bd7 on 2.0.x authored by
olmyr โ
- ๐ฌ๐งUnited Kingdom steven jones
Okay, that seems to still work, I'd rather get the fatal error if it is coded wrong and the bug reports than silently ignoring it at runtime.
2.1.0-rc1 here we come.
- ๐ฌ๐งUnited Kingdom steven jones
Made the release: https://www.drupal.org/project/content_access/releases/2.1.0-rc1 โ
- ๐ฌ๐งUnited Kingdom steven jones
Thanks everyone for the work on providing code and testing, much appreciated.
Automatically closed - issue fixed for 2 weeks with no activity.