Bug 48612 - extended attributes custom groups are not properly ordered according their settings
extended attributes custom groups are not properly ordered according their se...
Status: NEEDMOREINFO
Product: UCS
Classification: Unclassified
Component: UDM - Extended Attributes
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-02-04 17:50 CET by Nico Stöckigt
Modified: 2023-06-09 16:24 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 3: Will affect average number of 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.103
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2019012121000625
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 Nico Stöckigt univentionstaff 2019-02-04 17:50:25 CET
It looks like the object attribute 'groupPosition' of udm/extended_attributes are not evaluated properly. According to a customer (see Ticket) the order of own groups within a tab are not like configured - I can confirm the behavior.

To analyze further have a look at 10.200.42.10
Comment 1 Jürn Brodersen univentionstaff 2019-02-04 18:00:51 CET
I think the problem is in:
management/univention-directory-manager-modules/modules/univention/admin/modules.py:491

'''
currentTab.layout.insert(ea_layout.groupPosition - 1, grp)
'''

In case "ea_layout.groupPosition - 1" is bigger than the current length of the layout list the grp is just appended and no padding takes place. The layout list is initialized with a length of zero.
Comment 2 Florian Best univentionstaff 2022-02-21 13:34:56 CET
We need the exact extended attribute definition to reproduce it.