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.

CommentFileSizeAuthor
masquerade-maintenance_path.patch2.32 KBfengtan
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fengtan created an issue. See original summary.

fengtan’s picture

Issue summary: View changes
kala4ek’s picture

Status: Needs review » Reviewed & tested by the community

Looks good

izmeez’s picture

This 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?

izmeez’s picture

Status: Reviewed & tested by the community » Closed (duplicate)

I am closing this as a duplicate in favor of #2475897: alert message shows a wrong link for maintenance page