Bug 54110 - appcenter/query: univention.admin.uexceptions.valueRequired: Die Eigenschaft Primäre Gruppe wird benötigt.
appcenter/query: univention.admin.uexceptions.valueRequired: Die Eigenschaft ...
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-11-19 15:17 CET by Maximilian Janßen
Modified: 2021-11-19 17:12 CET (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
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: 2021092021000322, 2021091721000231
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maximilian Janßen univentionstaff 2021-11-19 15:17:47 CET
Similar to Bug #12621


Version: 5.0-0 errata0

Error: 
Interner Server-Fehler in "appcenter/query".
Request: appcenter/query

Traceback (most recent call last):
  File "%PY3%/univention/management/console/base.py", line 344, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/base.py", line 247, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/decorators.py", line 321, in _response
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 443, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 289, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 389, in query
    info = domain.to_dict(apps)
  File "%PY3%/univention/appcenter/actions/domain.py", line 98, in to_dict
    hosts = self.get_appcenter_hosts(lo, pos)
  File "%PY3%/univention/appcenter/actions/domain.py", line 80, in get_appcenter_hosts
    objs = search_objects('computers/%s' % role, lo, pos)
  File "%PY3%/univention/appcenter/udm.py", line 127, in search_objects
    udm_objects.open(obj)
  File "%PY3%/univention/admin/objects.py", line 123, in open
    object.open()
  File "%PY3%/univention/admin/handlers/computers/__base.py", line 85, in open
    self['primaryGroup'] = None
  File "%PY3%/univention/admin/handlers/__init__.py", line 3327, in __setitem__
    super(simpleComputer, self).__setitem__(key, value)
  File "%PY3%/univention/admin/handlers/__init__.py", line 388, in __setitem__
    raise univention.admin.uexceptions.valueRequired(_('The property %s is required') % self.descriptions[key].short_description, property=key)
univention.admin.uexceptions.valueRequired: Die Eigenschaft Primäre Gruppe wird benötigt.

Role: domaincontroller_master
Comment 1 Maximilian Janßen univentionstaff 2021-11-19 17:12:07 CET
Reported again:


Version: 4.4-8 errata1044 (Blumenthal)

Error: 
Internal server error during "apps/get".
Request: apps/get

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY2.7%/univention/management/console/base.py", line 262, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 321, in _response
    result = _multi_response(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 443, in _response
    return list(function(self, iterator, *nones))
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 289, in _fake_func
    yield function(self, *args)
  File "%PY2.7%/univention/management/console/modules/apps/__init__.py", line 64, in get
    return domain.to_dict([app])[0]
  File "%PY2.7%/univention/appcenter/actions/domain.py", line 98, in to_dict
    hosts = self.get_appcenter_hosts(lo, pos)
  File "%PY2.7%/univention/appcenter/actions/domain.py", line 80, in get_appcenter_hosts
    objs = search_objects('computers/%s' % role, lo, pos)
  File "%PY2.7%/univention/appcenter/udm.py", line 130, in search_objects
    udm_objects.open(obj)
  File "%PY2.7%/univention/admin/objects.py", line 133, in open
    object.open()
  File "%PY2.7%/univention/admin/handlers/computers/__base.py", line 81, in open
    self['primaryGroup'] = None
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 3384, in __setitem__
    super(simpleComputer, self).__setitem__(key, value)
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 402, in __setitem__
    raise univention.admin.uexceptions.valueRequired(_('The property %s is required') % self.descriptions[key].short_description, property=key)
valueRequired: The property Primary group is required

Role: domaincontroller_master