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

Nested collections bindings with templates stop firing after ZK 3611

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 8.5.1
    • 8.0.5, 8.5.0
    • None
    • Security Level: Jimmy
    • None

      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

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

              Created:
              Updated:
              Resolved: