Bug 51987 - Internal server error in "schoolgroups / classes (workgroup-admin)".
Internal server error in "schoolgroups / classes (workgroup-admin)".
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: UMC - CSV Import
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
Depends on:
  Show dependency treegraph
Reported: 2020-09-10 12:31 CEST by Riya Bhattacharjee
Modified: 2020-11-17 16:01 CET (History)
1 user (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?: 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.069
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2020090821000848
Bug group (optional):
Max CVSS v3 score:


Note You need to log in before you can comment on or make changes to this bug.
Description Riya Bhattacharjee univentionstaff 2020-09-10 12:31:19 CEST
feedback ticket : 2020090821000848

Please take a moment to provide the following

1) Steps to reproduce the bug
1. Add workgroup
2. Enter the first letter of Name
3. Crash

2) Expected result
The Known People List should be searched and the matching
results are filtered.

3) Result observed
Crash with the following message
Hypothesis: No persons have been created yet and searching through
an empty list could cause the error ???

UCS version: 4.4-5 errata735 (Blumenthal)

Internal server error in "schoolgroups / classes (workgroup-admin)".
noObject: No such object
    raise univention.admin.uexceptions.noObject (_err2str (msg))
  File "/usr/lib/python2.7/dist-packages/univention/admin/uldap.py",
line 757, in search
    for dn , attrs in lo.search (filter_str, base, scope, attr, unique,
required, timeout, sizelimit, serverctrls = serverctrls, response = response):
"/usr/lib/python2.7/dist-packages/univention/admin /handlers/__init__.py ",
line 1738, in lookup
    tmpres = module.lookup (co, lo, filter, base = base,
superordinate = superordinate, scope = scope, unique = unique,
required = required, timeout = timeout, sizelimit = sizelimit)
  File "/usr/lib/python2.7/dist-packages/univention/admin/modules.py",
line 913, in lookup
    "groups / group", None, ldap_connection, scope = scope, base = ldap_base,
filter = ldapFilter
  File "/usr/lib/pymodules/python2.7/ucsschool/lib/school_umc_base.py",
line 144 , in _groups
    ldap_user_read, school, SchoolClass.get_container (school),
request.options ["pattern"]
  File "/usr/lib/pymodules/python2.7/ucsschool/lib/school_umc_base.py",
line 159, in classes
    return func (* args, ** kwargs)
line 141, in wrapper_func
    return function (self, request)
line 181, in _response
    function .__ func __ (self, request, * args, ** kwargs)
"/ usr / lib / python2.7 / dist-packages / univention / management / console / base.py ",
line 262, in execute
    six.reraise (etype, exc, etraceback)
" /usr/lib/python2.7/dist -packages / univention / management / console / base.py ",
line 359, in __error_handling
Traceback (most recent call last):

Request: schoolgroups / classes (workgroup-admin)
Internal server error in" schoolgroups / classes (workgroup-admin ) ".