Univention Bugzilla – Full Text Bug Listing |
Summary: | form.validate() does not hit every widget | ||
---|---|---|---|
Product: | UCS | Reporter: | Dirk Wiesenthal <wiesenthal> |
Component: | UMC (Generic) | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Alexander Kläser <klaeser> |
Severity: | normal | ||
Priority: | P3 | CC: | best, gohmann, klaeser, schwardt |
Version: | UCS 3.1 | ||
Target Milestone: | UCS 3.1-1 | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | --- | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | Troubleshooting, Usability | |
Max CVSS v3 score: | |||
Bug Depends on: | 30091 | ||
Bug Blocks: | 31337 |
Description
Dirk Wiesenthal
2013-01-22 14:01:57 CET
PasswordInputBox and TimeBox has the logic in isValid. I added a function validate() which return isValid() to _FormWidgetMixin. isValid is btw obsolete in Dojo 2.0. univention-management-console-frontend (2.0.219-1) * add validate function to _FormWidgetMixin; Bug #30109 (In reply to comment #1) > PasswordInputBox and TimeBox has the logic in isValid. > > I added a function validate() which return isValid() to _FormWidgetMixin. > > isValid is btw obsolete in Dojo 2.0. Yes, isValid() → get("state") ... from the API documentation in dijit/form/_FormMixin: > Will be "Error" if one or more of the child widgets has an invalid value, > "Incomplete" if not all of the required child widgets are filled in. Otherwise, > "", which indicates that the form is ready to be submitted. Changes: OK as workaround, PasswordInputBox and TimeBox are working Changelog: OK UCS 3.1-1 has been released: http://download.univention.de/doc/release-notes-3.1-1_en.pdf http://download.univention.de/doc/release-notes-3.1-1.pdf If this error occurs again, please use "Clone This Bug". |