Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12382

Template event listners can not access subloops when loop is defined in the original file

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-b2
    • Fix Version/s: 3.1.0-b3
    • Component/s: Template Engine
    • Labels:
      None

      Description

      Template file:

      <!-- BEGIN event_loop -->
      event_loop<!-- EVENT test_event_subloop -->
      <!-- END event_loop -->

      Event file:

      <{event_loop.S_ROW_COUNT}<!-- BEGIN subloop --><subloop:{event_loop.subloop.S_ROW_COUNT}>
      <!-- END subloop -->>

      Expected: event_loop<0<subloop:0>>
      Actual: event_loop<0>

        Attachments

          Activity

            People

            • Assignee:
              naderman Nils Adermann
              Reporter:
              nickvergessen Joas Schilling
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: