? Pending

User tests: Successful: Unsuccessful:

avatar mbabker
mbabker
5 Jul 2018

Summary of Changes

Finishing #20734 the system and installation app error templates are updated to reflect the error document now being an extension of the HTML document.

Testing Instructions

  • Temporarily rename error.php in the themed templates to anything else temporarily so the system template's error.php layout is rendered
  • Trigger error page
  • See error page
  • Rename the error.php file(s) you previously renamed back to error.php
  • Mark successful test
avatar mbabker mbabker - open - 5 Jul 2018
avatar mbabker mbabker - change - 5 Jul 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Jul 2018
Category Administration Templates (admin) Installation Front End Templates (site)
avatar brianteeman
brianteeman - comment - 5 Jul 2018

Any idea how to trigger the error page during installation because I think the paths are wrong

avatar mbabker
mbabker - comment - 5 Jul 2018

Throw an exception somewhere.

The paths are fine because it's not doing relative lookups (in which case you have to do full paths from the app root versus the "shorthand" stuff).

avatar brianteeman
brianteeman - comment - 5 Jul 2018

but for installation isnt the app root example.com/installation?

avatar mbabker
mbabker - comment - 5 Jul 2018

By app root I meant JPATH_ROOT basically.

avatar wilsonge
wilsonge - comment - 14 Jul 2018

Given we’re rendering error pages would it be better to use JDocument to include style sheets and scripts to minimise the libraries were practically using for the error page?

avatar mbabker
mbabker - comment - 14 Jul 2018

IMO no. The full API should be available when it comes to rendering an error page, when it's being rendered simply means some error went unhandled, not that the API is unavailable. Remember with #20109 in place our error page renderer honestly will only trigger at a point after the API should be stable, any earlier errors it's hitting Symfony's handler.

avatar wilsonge wilsonge - change - 17 Jul 2018
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-07-17 12:24:49
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 17 Jul 2018
avatar wilsonge wilsonge - merge - 17 Jul 2018
avatar wilsonge
wilsonge - comment - 17 Jul 2018

I forgot we'd added the symfony handler :)

Add a Comment

Login with GitHub to post a comment