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.
admin/settings/site-maintenance
, was a valid path in D6, but not in D7: it is now admin/config/development/maintenance
.
Maybe we should update masquerade-7.x accordingly.
The path is used in a couple of places, in this message:
It is not possible to masquerade in off-line mode as foobar does not have the use the site in maintenance mode permission. Please set the site status to "online" to masquerade as foobar
See patch attached.
Comment | File | Size | Author |
---|---|---|---|
masquerade-maintenance_path.patch | 2.32 KB | fengtan | |
Comments
Comment #2
fengtanComment #3
kala4ekLooks good
Comment #4
izmeez CreditAttribution: izmeez commentedThis issue #2559407: Error message contains link to 404 overlaps with #2475897: alert message shows a wrong link for maintenance page and both have patches that are RTBC.
Each patch applies to current 1.x-dev.
The patch in this issue changes only one line of code while the patch in #2475897: alert message shows a wrong link for maintenance page includes several lines.
Which approach is better?
Comment #5
izmeez CreditAttribution: izmeez commentedI am closing this as a duplicate in favor of #2475897: alert message shows a wrong link for maintenance page