Skip to content

ensure theming app is loaded when showing an error page#4719

Merged
LukasReschke merged 1 commit intomasterfrom
error-page-theming
May 8, 2017
Merged

ensure theming app is loaded when showing an error page#4719
LukasReschke merged 1 commit intomasterfrom
error-page-theming

Conversation

@icewind1991
Copy link
Member

Prevent un-themed error pages when an error is triggered before the theming app can load naturally.

You can reproduce the problem with the guests app and trying to access an app guests do not have access to as guest

Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 added the 3. to review Waiting for reviews label May 6, 2017
@icewind1991 icewind1991 added this to the Nextcloud 12.0 milestone May 6, 2017
@icewind1991 icewind1991 requested review from MorrisJobke and rullzer May 6, 2017 15:53
@MorrisJobke
Copy link
Member

Let's hope the theming page never has an error 🙈

Could you add a try catch around this, just in case?

@icewind1991
Copy link
Member Author

If the theming app triggers an error page isAppLoaded will be false

Copy link
Member

@ChristophWurst ChristophWurst 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

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

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants