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

If a compiled template does not execute succesfully, view cache and cache-blocks should not be generated.

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • None
    • None
    • None
    • eZ Publish 4.6

    Description

      When, under certain conditions, a compiled template fails to execute, the including (parent) template will simply use an empty string.
      If this template is part of view-cache or cache-block, it's (invalid) contents will still be cached.

      The conditions that lead to the compiled template execution failing are not easily reproducible, but may derive - for instance - from APC (Alternative Php Cache) inclusion optimizer (apc.include_once_override).

      In this situation, the caches should NOT be generated/saved. A fatal error (exception) could be thrown instead.

      Attachments

        Activity

          People

            dp@ez.no dp@ez.no
            ji@ez.no ji@ez.no
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: