Skip to content

Conversation

@juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Aug 3, 2018

Fixes #10528

Remove unused parameter access:

  • Undefined index: header-classes: /core/templates/layout.public.php@84c46dd#L33 (blame)
  • Undefined index: user_displayname /core/templates/layout.public.php@84c46dd#L3 (blame)

Allow using the public layout in a regular TemplateResponse

  • "Undefined variable: template"
    Call to a member function getHeaderTitle() on null /core/templates/layout.public.php@84c46dd#L38 (blame)

This still needs a fix for calendar, which is using 'public' instead of 'base' the public calendar embedding, see: nextcloud/calendar#882

@juliusknorr juliusknorr force-pushed the bugfix/10528/public-template branch from dba0266 to 4f2013b Compare August 3, 2018 18:42
Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense

@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Aug 6, 2018
@nickvergessen nickvergessen merged commit f67d942 into master Aug 6, 2018
@nickvergessen nickvergessen deleted the bugfix/10528/public-template branch August 6, 2018 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug regression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

layout.public.php is broken

5 participants