Bug 35200 - Traceback when editing a school admin user
Traceback when editing a school admin user
Status: CLOSED DUPLICATE of bug 35660
Product: UCS@school
Classification: Unclassified
Component: UMC - Password reset
UCS@school 3.2 R2
Other Linux
: P5 normal (vote)
: UCS@school 4.1 R2
Assigned To: Florian Best
Daniel Tröder
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-26 10:26 CEST by Jan Christoph Ebersbach
Modified: 2016-06-28 18:28 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 Jan Christoph Ebersbach univentionstaff 2014-06-26 10:26:25 CEST
The following traceback appeared when I tried to edit a school admin user using the User (school) wizard.  The admin user show up as teacher, although he's not part of the teachers group.

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/__init__.py", line 204, in execute
    func( request )
  File "/usr/lib/pymodules/python2.6/ucsschool/lib/schoolldap.py", line 204, in wrapper_func
    return func( *args, **kwargs )
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/schoolwizards/__init__.py", line 118, in _decorated
    ret = func(self, request, *a, **kw)
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/schoolwizards/__init__.py", line 177, in _get_obj
    obj = obj.from_dn(obj.old_dn, obj.school, ldap_user_read)
  File "/usr/lib/pymodules/python2.6/ucsschool/lib/models/base.py", line 735, in from_dn
    udm_obj = udm_modules.lookup(cls._meta.udm_module, None, lo, filter=cls._meta.udm_filter, base=dn, scope='base', superordinate=superordinate)[0]
  File "/usr/lib/pymodules/python2.6/univention/admin/modules.py", line 801, 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/pymodules/python2.6/univention/admin/handlers/users/user.py", line 2709, in lookup
    for dn, attrs in lo.search(unicode(filter), base, scope, [], unique, required, timeout, sizelimit):
  File "/usr/lib/pymodules/python2.6/univention/admin/uldap.py", line 347, in search
    raise univention.admin.uexceptions.noObject, _err2str(msg)
noObject: No such object
Comment 1 Jan Christoph Ebersbach univentionstaff 2014-06-26 10:26:55 CEST
This issue has also been reported by a customer.
Comment 2 Florian Best univentionstaff 2016-05-10 07:57:59 CEST

*** This bug has been marked as a duplicate of bug 35660 ***
Comment 3 Daniel Tröder univentionstaff 2016-06-17 12:05:20 CEST
OK: duplicate of Bug #35660, which in turn is a duplicate of Bug #41293, which was solved in the scope of the release 4.1 R2.

If this should be solved for 3.2, please reopen.
Comment 4 Florian Best univentionstaff 2016-06-28 18:28:12 CEST
UCS@school 4.1 R2 has been released:
http://docs.software-univention.de/release-notes-ucsschool-4.1R2v1-de.pdf

If this error occurs again, please use "Clone This Bug".