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

Errorbox still not shown when WrongValueException is thrown on a multiline textbox

    XMLWordPrintable

    Details

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

      Description

      Reproducible steps:

      1. Load the zul page below
      2. Click on "Wrong value" button to throw WrongValueException on the multiline textbox

      test.zul
      <zk>
          <button label="Wrong value" onClick='throw new WrongValueException(textbox, "error message");'/>
          <textbox id="textbox" multiline="true"/>
      </zk>
      

      Expected result:

      The textbox should have red border, and an errorbox appears with the "error message" message.

      Actual result:

      The textbox has red border, but an errorbox does not appear.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 3 hours
                  1d 3h