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.
The "Accessible clients" and "Associate a client to this user" sections of the user editing form are missing. This is because the the D7-deprecated hook_user_form() hasn't been replaced with a call to hook_form_FORM_ID_alter(). This also required other code adjustments to work properly. Patching file "hosting_client.access.inc" fixes this. See attached screenshots of the page before and after patching.
Comment | File | Size | Author |
---|---|---|---|
#7 | accessible_clients_not_shown-issue_#2857721-comment_#7.patch | 5.32 KB | kfolsom |
#3 | accessible_clients_patched.jpg | 36.34 KB | kfolsom |
#3 | accessible_clients_unpatched.jpg | 19.86 KB | kfolsom |
#3 | accessible_clients_not_shown-issue_#2857721-comment_#3.patch | 5.32 KB | kfolsom |
Comments
Comment #2
kfolsom CreditAttribution: kfolsom commentedComment #3
kfolsom CreditAttribution: kfolsom commentedComment #4
kfolsom CreditAttribution: kfolsom commentedComment #5
kienan CreditAttribution: kienan commentedThe patch adds a couple of whitespace errors, but applies and works.
Comment #6
kfolsom CreditAttribution: kfolsom commentedI'll fix those errors and re-submit the patch. Thanks for reporting it.
Keith
Comment #7
kfolsom CreditAttribution: kfolsom commentedUpdated patch is attached that fixes the whitespace error.
Comment #8
kienan CreditAttribution: kienan commentedComment #10
helmo CreditAttribution: helmo at Initfour websolutions commentedThanks, committed with only a minor code style change.