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

ArrayGroupsModel addopengroup and removeopengroup do not sync with MeshComponent open group status

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.0.4
    • 8.0.2
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.0.4 S1
    • None

      steps to reproduce

      Run fiddle
      http://zkfiddle.org/sample/37humbf/1-ArrayGroupModel-not-sync-with-meshcomponent

      effect 1: group require 2 clicks to open.

      from a fresh page (F5):
      -Click on the "toggle open close" button (groups are all closing)
      -Click on a group label to open it.

      effect 2: closed group stay closed even when opened from server side.

      from a fresh page (F5):
      -manually close a group by clicking it.
      -use the "toggle open close button" twice.

      actual result

      effect 1:

      group doesn't open, but group status (triangle icon) switches to closed. One more click will open the group.

      effect 2:

      other groups are opening. Closed group stay closed.

      expected result

      effect 1:

      group should already display as closed. One click on the group should open it if set closed from server side.

      effect 2:

      all groups set opened from server side should open on client side

      debug info

      Same effect with GroupsModelArray and SimpleGroupsModel

      root cause

      Workaround

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

              Created:
              Updated:
              Resolved:

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