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

layout.public.php is broken #10528

Closed
nickvergessen opened this issue Aug 3, 2018 · 2 comments · Fixed by #10530
Closed

layout.public.php is broken #10528

nickvergessen opened this issue Aug 3, 2018 · 2 comments · Fixed by #10530

Comments

@nickvergessen
Copy link
Member

Not sure where that file is used, but it spams our sentry instance with quite some log messages:

@juliushaertl @danxuliu @skjnldsv as authors of the file. Which page is using this?

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #10442 (Contact list broken layout), #4837 (Layout of error page broken), #6622 (Settings menu layout is broken), #6784 (Php error?), and #10241 (php segmentation fault on /public.php/webdav/).

@juliushaertl
Copy link
Member

From the sentry log it seems that some public pages like the calendar use 'public' as $renderAs parameter in the TemplateResponse constructor, which leads to loading the layout.public.php file. That should instead only happen if a PublicTemplateResponse is used. I'll look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants