Details
-
Bug
-
Resolution: Fixed
-
High
-
4.7.0, 5.0, 5.1, 5.2, 5.3
-
None
-
None
-
Castor Core S1, Castor Core S2
Description
After creating a pagelayout override for kernel errors, it only works the first time the error is displayed (for that url).
Subsequent page hits/refreshes display the page with the "standard" layout.
Steps to reproduce:
- Create a new legacy template design/standard/templates/pagelayout_error.tpl
- Add the following to override.ini.append.php
[pagelayout_error_1] Source=pagelayout.tpl MatchFile=pagelayout_error.tpl Subdir=templates Match[error_type]=kernel Match[error_number]=1 [pagelayout_error_2] Source=pagelayout.tpl MatchFile=pagelayout_error.tpl Subdir=templates Match[error_type]=kernel Match[error_number]=2 [pagelayout_error_3] Source=pagelayout.tpl MatchFile=pagelayout_error.tpl Subdir=templates Match[error_type]=kernel Match[error_number]=3
- Access an uri that will generate a kernel error ( /content/view/full/123456789 )
- Refresh the page
Notes:
This seems to occur only with some kernel errors (1,3) and not others (20,21)
Attachments
Issue Links
- links to