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

zul.inp.Errorbox is shown regardless the component visibility

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 7.0.0, 8.6.0.1
    • Fix Version/s: 8.6.1
    • Component/s: Components
    • Labels:
      None
    • gh.sprint.customfield.default.name:
      ZK 8.6.1 S1

      Description

      Steps to Reproduce

      http://zkfiddle.org/sample/e0uidd/1-ZK-4144-another-issue

      1. Click "Save"
      2. The Groupbox will be opened with many error popups

      Current Result

      The last error popup is visible, but the corresponding textbox is invisible.

      Expected Result

      The last error popup should be invisible

      Debug Information

      If the groupbox is opened first, the issue doesn't happen.

      https://github.com/zkoss/zk/blob/v8.6.0.1/zk/src/archive/web/js/zk/au.js#L1498
      When a groupbox is opening, au wrongValue didn't wait for it.

      Workaround

        Activity

        rudyhuang rudyhuang created issue -
        rudyhuang rudyhuang made changes -
        Field Original Value New Value
        Link This issue relates to ZK-4144 [ ZK-4144 ]
        rudyhuang rudyhuang made changes -
        Assignee rudyhuang [ rudyhuang ]
        rudyhuang rudyhuang made changes -
        gh.sprint.customfield.default.name ZK 8.6.1 S1 [ 48 ]
        rudyhuang rudyhuang made changes -
        Description h2. Steps to Reproduce

        http://zkfiddle.org/sample/e0uidd/1-ZK-4144-another-issue
        # Click "Save"
        # The Groupbox will be opened with many error popups

        h2. Current Result
        The last error popup is visible, but the corresponding textbox is invisible.

        h2. Expected Result
        The last error popup should be invisible

        h2. Debug Information

        h2. Workaround
        h2. Steps to Reproduce

        http://zkfiddle.org/sample/e0uidd/1-ZK-4144-another-issue
        # Click "Save"
        # The Groupbox will be opened with many error popups

        h2. Current Result
        The last error popup is visible, but the corresponding textbox is invisible.

        h2. Expected Result
        The last error popup should be invisible

        h2. Debug Information
        If the groupbop is opened first

        h2. Workaround
        rudyhuang rudyhuang made changes -
        Description h2. Steps to Reproduce

        http://zkfiddle.org/sample/e0uidd/1-ZK-4144-another-issue
        # Click "Save"
        # The Groupbox will be opened with many error popups

        h2. Current Result
        The last error popup is visible, but the corresponding textbox is invisible.

        h2. Expected Result
        The last error popup should be invisible

        h2. Debug Information
        If the groupbop is opened first

        h2. Workaround
        h2. Steps to Reproduce

        http://zkfiddle.org/sample/e0uidd/1-ZK-4144-another-issue
        # Click "Save"
        # The Groupbox will be opened with many error popups

        h2. Current Result
        The last error popup is visible, but the corresponding textbox is invisible.

        h2. Expected Result
        The last error popup should be invisible

        h2. Debug Information
        If the groupbox is opened first, the issue doesn't happen.

        h2. Workaround
        rudyhuang rudyhuang made changes -
        Description h2. Steps to Reproduce

        http://zkfiddle.org/sample/e0uidd/1-ZK-4144-another-issue
        # Click "Save"
        # The Groupbox will be opened with many error popups

        h2. Current Result
        The last error popup is visible, but the corresponding textbox is invisible.

        h2. Expected Result
        The last error popup should be invisible

        h2. Debug Information
        If the groupbox is opened first, the issue doesn't happen.

        h2. Workaround
        h2. Steps to Reproduce

        http://zkfiddle.org/sample/e0uidd/1-ZK-4144-another-issue
        # Click "Save"
        # The Groupbox will be opened with many error popups

        h2. Current Result
        The last error popup is visible, but the corresponding textbox is invisible.

        h2. Expected Result
        The last error popup should be invisible

        h2. Debug Information
        If the groupbox is opened first, the issue doesn't happen.

        https://github.com/zkoss/zk/blob/v8.6.0.1/zk/src/archive/web/js/zk/au.js#L1498
        When groupbox is opening

        h2. Workaround
        rudyhuang rudyhuang made changes -
        Description h2. Steps to Reproduce

        http://zkfiddle.org/sample/e0uidd/1-ZK-4144-another-issue
        # Click "Save"
        # The Groupbox will be opened with many error popups

        h2. Current Result
        The last error popup is visible, but the corresponding textbox is invisible.

        h2. Expected Result
        The last error popup should be invisible

        h2. Debug Information
        If the groupbox is opened first, the issue doesn't happen.

        https://github.com/zkoss/zk/blob/v8.6.0.1/zk/src/archive/web/js/zk/au.js#L1498
        When groupbox is opening

        h2. Workaround
        h2. Steps to Reproduce

        http://zkfiddle.org/sample/e0uidd/1-ZK-4144-another-issue
        # Click "Save"
        # The Groupbox will be opened with many error popups

        h2. Current Result
        The last error popup is visible, but the corresponding textbox is invisible.

        h2. Expected Result
        The last error popup should be invisible

        h2. Debug Information
        If the groupbox is opened first, the issue doesn't happen.

        https://github.com/zkoss/zk/blob/v8.6.0.1/zk/src/archive/web/js/zk/au.js#L1498
        When a groupbox is opening, au wrongValue didn't wait for it.

        h2. Workaround
        rudyhuang rudyhuang made changes -
        Link This issue relates to ZK-4144 [ ZK-4144 ]
        rudyhuang rudyhuang made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Original Estimate 4 hours [ 14400 ]
        Remaining Estimate 4 hours [ 14400 ]
        gh.issue.storypoints 1
        Fix Version/s 8.6.1 [ 15301 ]
        Automated transition triggered when Scribe Huang created pull request #1489 in GitHub -
        Status In Progress [ 3 ] Reviewing [ 10101 ]
        rudyhuang rudyhuang made changes -
        Remaining Estimate 4 hours [ 14400 ] 1 hour [ 3600 ]
        Time Spent 3 hours [ 10800 ]
        Worklog Id 17740 [ 17740 ]
        Automated transition triggered when Leon03 merged pull request #1489 in GitHub -
        Status Reviewing [ 10101 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            rudyhuang rudyhuang
            Reporter:
            rudyhuang rudyhuang
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 4 hours
              4h
              Remaining:
              Time Spent - 3 hours Remaining Estimate - 1 hour
              1h
              Logged:
              Time Spent - 3 hours Remaining Estimate - 1 hour
              3h

                Agile