There is a bug with maintenance themes activated. All seems to be correct on front page, but not on sub pages of a site. I expect to get the same maintenance page on all path's of a site.

Repro:
1. Configure Garland as your default theme
2. Turn on maintenance mode.
3. Open your front page (all seems to be correct)
4. Open a URL inside your site (for e.g. node/1 or de/example) and the page is not shown properly as on FRONT. (BUG)

I've tested this with a custom theme first and wondered why site title and so on are missing... then verified with Garland and this is also completely broken. In Garland I only get a white page with my custom offline message shown in browser...

I have i18n installed and path prefix based language detection with language fallback configured. Not sure if this is related.

Comments

hass’s picture

I've disabled language detection and the issue is gone. So this seems to be related to the language detection modes.

hass’s picture

"Path prefix only" and "Path prefix with language fallback" settings seems to cause this issue.

"Domain name only" and "None" seems working as expected.

hass’s picture

Title: Maintaince theme: page variables blank if not <front> » Maintaince theme broken with language detection modes
hass’s picture

Title: Maintaince theme broken with language detection modes » Maintenance theme broken with language detection modes
hass’s picture

Component: theme system » language system
hass’s picture

Version: 6.x-dev » 7.x-dev
Component: language system » theme system
effulgentsia’s picture

Status: Active » Fixed

I think this is fixed. Please re-open if I'm wrong.

hass’s picture

Any reference? At least not fix in D6 as I know

effulgentsia’s picture

Status: Fixed » Active

Sorry. I might have marked it "fixed" prematurely. D7 has made a lot of changes to the language negotiation code since comment #6. I can't replicate the bug you're describing using the D7 locale module. Please test it on your end, and say whether the bug is still there. If it looks fixed in D7, then please set the version attribute of this issue to 6.x-dev. Thanks!