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

extract_right not working with negative length and disabled TemplateCompile

    XMLWordPrintable

Details

    Description

      {"abcedfg"|extract_right(-1)}
      

      Result if TemplateCompile in site.ini is enabled: bcedfg
      No result if TemplateCompile disabled.

      extract_right works fine if TemplateCompile is enabled.
      extract_right works fine with non-negative length.
      extract_left works allways fine.

      Steps to reproduce
      {"abcedfg"|extract_right(-1)}
      

      Attachments

        Activity

          People

            unknown unknown
            dh dh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: