Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-23046

Pagelayout overrides for some kernel errors only work once

    XMLWordPrintable

    Details

    • Sprint:
      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:
      1. Create a new legacy template design/standard/templates/pagelayout_error.tpl
      2. 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
        
      3. Access an uri that will generate a kernel error ( /content/view/full/123456789 )
      4. Refresh the page
      Notes:

      This seems to occur only with some kernel errors (1,3) and not others (20,21)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              joao.inacio-obsolete@ez.no Joao Inacio (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 30 minutes
                3h 30m