Bug 31716 - Form validation does not highlight invalid form elements
Form validation does not highlight invalid form elements
Status: RESOLVED DUPLICATE of bug 31337
Product: UCS
Classification: Unclassified
Component: UMC - Domain management (Generic)
UCS 3.1
Other Linux
: P3 minor (vote)
: UCS 3.x
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-11 15:04 CEST by Alexander Kläser
Modified: 2013-07-19 18:05 CEST (History)
1 user (show)

See Also:
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): Usability
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kläser univentionstaff 2013-06-11 15:04:40 CEST
Currently, invalid form elements are not highlighted upon clicking "Save" when editing an UDM object.

The fix should do the following: The method isValid() is used in the UDM UMC module for validation of form elements. Although isValid() returns the correct value (true/false), we should use validate() as it also updates GUI elements to indicate an error:

http://dojotoolkit.org/reference-guide/1.9/dijit/form/Form.html
Comment 1 Alexander Kläser univentionstaff 2013-07-19 17:53:45 CEST
With UCS 3.1-1 it works fine.
Comment 2 Alexander Kläser univentionstaff 2013-07-19 18:05:45 CEST

*** This bug has been marked as a duplicate of bug 31337 ***