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.
Coffee doesn't work when the Rename Admin Paths (https://www.drupal.org/project/rename_admin_paths) module is installed. It reports a 404 error for admin/coffee/result/TERM
Comments
Comment #2
andersi CreditAttribution: andersi commentedI can also reproduce this issue. I have installed rename_admin_paths; changed the admin path and now receive this error message upon "Alt D".
"Could not load data, please refresh the page"
I have refreshed the page, performed a log out / log in cycle, cleared the cache and performed a logout / log in cycle again and still receive this error message.
Drupal Core: 7.5
Rename Admin Paths: 7.x-2.2
Coffee 7.x-2.2
Looking at the coffee.module file I can see that there are some 'hard coded' links to "admin/coffee/menu" rather than a variable that holds the admin path. I'm guessing that coffee isn't able to correctly point to the updated url for the admin path.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous at Ashday Interactive Systems commentedI can confirm that this bug is still present. The fix would probably be to generate the correct path to that route in PHP and pass it through drupalSettings so that the Ajax call be made correctly.