Bug 26525 - umc.widgets.Form: Prüfung der Eingaben
umc.widgets.Form: Prüfung der Eingaben
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.0-2
Assigned To: Andreas Büsching
Florian Best
: interim-1
Depends on:
Blocks: 26526
  Show dependency treegraph
 
Reported: 2012-03-15 11:45 CET by Andreas Büsching
Modified: 2012-07-20 15:24 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):
Max CVSS v3 score:
buesching: Patch_Available+


Attachments
umc.widgets.Form.validate (754 bytes, patch)
2012-03-15 11:52 CET, Andreas Büsching
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Büsching univentionstaff 2012-03-15 11:45:36 CET
Es sollte eine Funktion geben um die Korrektheit der Werte eines Formulars zu überprüfen.

Dafür sollten zwei Funktionen implementiert werden:

- getInvalidWidgets: gibt eine Liste mit Namen aller ungültigen Felder zurück
- validate: gibt true zurück wenn alle Felder gültige Werte haben ansonsten false

Beide Funktionen sollen die ungültigen Felder markieren
Comment 1 Andreas Büsching univentionstaff 2012-03-15 11:52:38 CET
Created attachment 4268 [details]
umc.widgets.Form.validate
Comment 2 Andreas Büsching univentionstaff 2012-04-13 10:35:35 CEST
Patch angewendet und ChangeLog-Eintrag hinzugefügt
Comment 3 Florian Best univentionstaff 2012-05-22 09:31:09 CEST
Methoden existieren + funktionieren
ungültige Felder werden markiert
Changelog vorhanden
→ VERIFIED
Comment 4 Stefan Gohmann univentionstaff 2012-07-20 15:24:29 CEST
UCS 3.0-2 has been released: 
  http://forum.univention.de/viewtopic.php?f=54&t=1905

If this error occurs again, please use "Clone This Bug".