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

zk recreates injected page unexpectedly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.6.2, 9.5.0
    • Fix Version/s: 9.5.1
    • Component/s: Databind 2
    • Security Level: Jimmy
    • Labels:
    • gh.sprint.customfield.default.name:
      ZK 9.5.1 S1

      Description

      Steps to Reproduce

      1. run applyArg.zul
      2. click "switch src" button, switch to b.zul

      Current Result

      InitVM.init() is called.
      It's unexpected because b.zul doesn't apply InitVM

      Expected Result

      InitVM.init() is not called

      Debug Information

      1. This bug happens since 8.6.2 for fixing ZK-4221

      Workaround

              <apply navInfo="@load(vm.navInfo)">
                  <apply templateURI="${navInfo.src}" time="${navInfo.arg}"/>
              </apply>
      

        Attachments

        1. a.zul
          0.2 kB
        2. applyArg.zul
          0.6 kB
        3. ApplyArgVM.java
          2 kB
        4. b.zul
          0.0 kB
        5. InitVM.java
          0.2 kB

          Issue Links

            Activity

              People

              Assignee:
              DevChu DevChu
              Reporter:
              hawk hawk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days
                  2d