Bug 31779 - Disabled multi valued fields are still editable
Disabled multi valued fields are still editable
Status: RESOLVED DUPLICATE of bug 42597
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 3.1
All Linux
: P5 normal (vote)
: UCS 3.x
Assigned To: UMC maintainers
:
: 32808 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-20 12:12 CEST by Philipp Hahn
Modified: 2016-10-10 13:38 CEST (History)
4 users (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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2013-06-20 12:12:22 CEST
'_view_computer': univention.admin.property(
....
                        syntax=univention.admin.syntax.XXXXX,
                        multivalue=True,
			may_change=False,
			editable=False,
			),

class XXXXX(UDM_Objects):
	udm_modules = ("computers/computer",)
	udm_filter = '(&(objectClass=xxxxxReference)(xxxxxNumber=*))'
	regex = None
	key = 'dn'
	label = "%(fqdn)s"
	simple = True
	empty_value = True

In UMC-UDM the ComboBox field is grayed out, but + and - buttons next to it are still clickable and do add/remove additional entries if at least one entry is set (that is a referenced entry is found in the scenario above).
If the value is empty (no referenced object found), the + button is already initially disabled.
Comment 1 Philipp Hahn univentionstaff 2013-10-07 08:44:07 CEST
*** Bug 32808 has been marked as a duplicate of this bug. ***
Comment 2 Florian Best univentionstaff 2016-10-10 13:38:00 CEST

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