Bug 58131 - MulitInput sends empty values to UDM if one subwidget is a CheckBox 5.2-1
Summary: MulitInput sends empty values to UDM if one subwidget is a CheckBox 5.2-1
Status: CLOSED DUPLICATE of bug 58130
Alias: None
Product: UCS
Classification: Unclassified
Component: UMC - Users
Version: UCS 5.2
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 5.2-1-errata
Assignee: Dirk Wiesenthal
QA Contact: Christian Castens
URL:
Keywords:
Depends on: 58129
Blocks: 58130
  Show dependency treegraph
 
Reported: 2025-03-31 08:41 CEST by Christian Castens
Modified: 2025-09-09 10:11 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.091
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Castens univentionstaff 2025-03-31 08:41:12 CEST
+++ This bug was initially created as a clone of Bug #58129 +++

If we have a multi value complex syntax, which includes not just string, but also boolean, the MultiInput is rendered with TextBox and CheckBox.

If you have, say, one actual (complex) value on the object and you want to change this one value, UMC will send two values: The actual value and an empty one. Why? Because out of convenience, we always render one more widget group per multi value attribute. And this second, empty widget group is used. Normally, we filter empty values out of the request.

But the CheckBox value does not evaluate to false. Because only an empty string is considered "empty".


Bug for 5.2-1 errata release
Comment 1 Christian Castens univentionstaff 2025-03-31 08:52:58 CEST

*** This bug has been marked as a duplicate of bug 58130 ***
Comment 2 Monika Turfeld univentionstaff 2025-09-09 10:11:41 CEST
Please reopen if necessary