Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Per #1495664-8: Content access: Make lesson and curriculum authors “maintainers” just like d.o projects, we need to use the -dev version of Node access user reference so that it works with Entity Reference.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1671410-1.patch | 443 bytes | BrockBoland |
Comments
Comment #1
BrockBoland CreditAttribution: BrockBoland commentedComment #2
BrockBoland CreditAttribution: BrockBoland commentedThat module is up to 3.9 now and works with Entity Reference. Updated the drupal-org.make file to use the latest version, in commit e3665f8.
Comment #3
BrockBoland CreditAttribution: BrockBoland commentedAre you getting an error when trying to install Drupal Ladder? Something like: "You need a module to reference users. Use either Entity references or References."
You are not alone, but we also don't know yet how to fix it.
This error is caused by the requirements check in the Node access user reference module. Basically, before it can be enabled it checks to see if the Entity Reference or Reference module is enabled, but during the install process, nothing is enabled yet, so it always fails. I have opened an issue on that module about it (and would love any ideas there): #1774488: Requirements check kills install profiles
In the meantime, you can hack your way around this. Modify the install file for that module, found at
profiles/drupalladder/modules/contrib/nodeaccess_userreference/nodeaccess_userreference.install
in your Drupal Ladder site. Find thenodeaccess_userreference_requirements()
function, and change it to immediately return the$requirements
array:That will bypass this requirements check and allow you to continue.