Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3812

Nested collections bindings with templates stop firing after ZK 3611

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 8.0.5, 8.5.0
    • Fix Version/s: 8.5.1
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None

      Description

      Steps to Reproduce

      http://zkfiddle.org/sample/1q7bg7v/5-nested-collections-binding-with-templates-bug

      each binding displays the first of the current list of items.
      Click the button to delete the first item of the list.

      Current Result

      binding with nested collections using @template fire once (or twice if another binding exist with the same string)

      Expected Result

      next item in the list is displayed for each binding fired

      Debug Info

      issue appear after https://github.com/zkoss/zkcml/commit/f91477ffa3f5bfe5808dad4c946205143d1e1b5a

      Root Cause

      Some bashPathStr values look like: "member1.member2.[0].member3" instead of "member1.member2[0].member3".
      Not confirmed if this is the cause of the issue, or unrelated

      Workaround

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              DevChu DevChu
              Reporter:
              MDuchemin MDuchemin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: