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

setting an ID on treeItem cause duplication issue with paging mold

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 7.0.6.1
    • Fix Version/s: 8.0.1
    • Component/s: Components
    • Security Level: Jimmy
    • Labels:
      None
    • gh.sprint.customfield.default.name:
      ZK 8.0.1

      Description

      conditions :
      > using a treeModel
      >assigning ID to the <treeItem>
      >using the paging tree mold

      When a node is re-rendered (after beeing closed, or after beeing brought back in the view from another page), a duplicate ID error occurs.

      actions triggering the error :
      >closing an open node
      >rendering a node (by accessing it's page), accessing another page, then accessing the original page again.

      see attached example

        Attachments

        1. CustNodeData.java
          0.3 kB
        2. tree.zul
          0.4 kB
        3. TreeViewModel.java
          1 kB

          Activity

            People

            Assignee:
            wenninghsu wenninghsu
            Reporter:
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

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