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.
Problem/Motivation
#2916181: Add link to configure page points to a problem in access checking for the checklistapi.checklists.*
The result of $request_stack->getCurrentRequest() corresponds to the modules page, not to the checklists page as it would if you visited it directly.
Proposed resolution
The safe way to access these attributes is through RouteMatch.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | 2917760-checklist_access-2.patch | 2.2 KB | tim.plunkett |
Comments
Comment #2
tim.plunkettComment #3
adriancidThe patch solve the problem
Now the link is available.
Comment #5
TravisCarden CreditAttribution: TravisCarden as a volunteer commentedThanks, @tim.plunkett and @adriancid! Committed.
Comment #6
TravisCarden CreditAttribution: TravisCarden as a volunteer commented