Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure safemode is shown in case of fatal error while rendering <head> #10696

Merged
merged 1 commit into from Oct 6, 2016

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Oct 6, 2016

Eg if AnonymousPiwikUserManagement triggers an error while is being rendered, the safemode page was not visible. We omit all previously rendered content to make sure the safemode page will be always visible. Otherwise we end up something like this:

<html>
  <head>... <html><head></head><body></body></html>
  </head>

fixes #10693

…ead>

Eg if AnonymousPiwikUserManagement triggers an error while <head> is being rendered, the safemode page was not visible. We omit all previously rendered content to make sure the safemode page will be always visible. Otherwise we end up something like this:

```html
<html>
  <head>... <html><head></head><body></body></html>
  </head>
```
@tsteur tsteur added the Needs Review PRs that need a code review label Oct 6, 2016
@tsteur tsteur added this to the 3.0.0-b2 milestone Oct 6, 2016
@mattab mattab merged commit 97ce8b4 into 3.x-dev Oct 6, 2016
@mattab mattab deleted the safemode_header branch October 6, 2016 04:02
@mattab
Copy link
Member

mattab commented Oct 6, 2016

Will prove very useful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Safe mode is not displayed when there is a crash/error in some cases
2 participants