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

VM init multiple times with Choose/When

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Normal
    • 9.0.1
    • 8.5.2.1, 9.0.0
    • Databind 2
    • None
    • ZK 9.0.1 S1

    Description

      Steps to Reproduce

      https://zkfiddle.org/sample/5na9id/4-test-choose-when#source-6
      run the fiddle, the T2VM init twice.

      Current Result

      T2VM init twice, if you add more <when> into it, the VM init will do more times.

      Expected Result

      the VM should not init twice

      Debug Information

      Since ZK-3630
      seeĀ https://github.com/zkoss/zk/commit/068d17dbcd85dcce27f4375d8bbf641dcfb78dae

      andĀ https://github.com/zkoss/zkcml/commit/89cb820f26c137406831715fc001c6c2f79893d5

      Workaround

      the bug will be fixed if we revert ZK-3630

      Attachments

        Issue Links

          Activity

            People

              Leon03 Leon03
              Leon03 Leon03
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 day, 4 hours
                  1d 4h
                  Remaining:
                  Remaining Estimate - 1 day, 4 hours
                  1d 4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified