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

Improve debug output of template foreach function (patch)

    XMLWordPrintable

Details

    Description

      The template compiler outputs only these on foreach errors:

      Invalid 'offset' parameter specified.
      Invalid 'max' parameter specified.
      

      With the patch it is improved to this, to help track down the error.

      Invalid 'offset' parameter specified. Array count: 4
      Invalid 'max' parameter specified: -5
      

      More information would be good, but this isn't available. Patch for trunk attached.

      Attachments

        Activity

          People

            gl gl
            gl gl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: