Problem/Motivation
upgrade_status reports:
web/modules/contrib/nodeaccess/nodeaccess.install 111 Call to deprecated function user_roles(). Deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use Drupal\user\Entity\Role::loadMultiple() and, if necessary, an inline implementation instead.
web/modules/contrib/nodeaccess/nodeaccess.info.yml 6 Value of core_version_requirement: ^8 || ^9 || ^10 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | nodeaccess1.png | 49.8 KB | sarigaraghunath |
| #8 | nodeaccess.png | 26.91 KB | sarigaraghunath |
| #8 | nodeaccess_module.png | 27.16 KB | sarigaraghunath |
Issue fork nodeaccess-3484676
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3484676-drupal-11-compatibility
changes, plain diff MR !16
- 3484676-d11_ready
compare
Comments
Comment #2
benstallings commentedComment #4
benstallings commentedComment #5
benstallings commentedComment #8
sarigaraghunath commentedMR16 works fine in both d10 and d11. MR16 makes the module compatible with d11. Please find the screenshots attached.
Comment #9
d.fisher commentedThis is really good progress! Thank you so much for your effort on this. Any word on getting this merged?
Comment #10
alisonHi and thank you for the work! I'm very sorry but I don't have an ETA on merging, I took a look at the code but I need to look at it more carefully, unless another co-maintainer can get to it before I do.
I'm sorry I don't have a better update, I just didn't want to leave y'all with complete radio silence.
Comment #11
d.fisher commentedGot all tests to pass. This is the last module we're waiting on to get one of our projects migrated to Drupal 11. Any ETA on review and merge?
Comment #12
d.fisher commentedBump.
Comment #15
doxigo commentedThanks a lot Darren, merged.
Comment #16
d.fisher commentedAmazing. Thank you! Really appreciate it. Is there an ETA for a tagged release?
Comment #17
doxigo commentedNothing on my end, not actively working on nodeaccess at all, but I'd say let's give it a bit and see how things are and if all is good we can tag a new release