Maintenance theme broken with language detection modes
| Project: | Drupal |
| Version: | 7.x-dev |
| Component: | theme system |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
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.

#1
I've disabled language detection and the issue is gone. So this seems to be related to the language detection modes.
#2
"Path prefix only" and "Path prefix with language fallback" settings seems to cause this issue.
"Domain name only" and "None" seems working as expected.
#3
#4
#5
#6