Bug 42444 - School CSV import shows weird error message when there is a uid lock
School CSV import shows weird error message when there is a uid lock
Status: RESOLVED DUPLICATE of bug 41711
Product: UCS@school
Classification: Unclassified
Component: UMC - Wizards
UCS@school 4.1 R2
Other Linux
: P5 normal (vote)
: ---
Assigned To: Bugzilla Mailingliste
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-09-20 13:59 CEST by Florian Best
Modified: 2016-09-20 13:59 CEST (History)
0 users

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): Design, Error handling
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2016-09-20 13:59:06 CEST
The CSV-Import module shows in UMC:
"""
banton1 konnte nicht angelegt werden. : banton1
"""

The log contains:

20.09.16 13:56:08.749  MODULE      ( WARN    ) : Something went wrong. Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/schoolcsvimport/util.py", line 236, in commit
    self.create(lo, validate=False)
  File "/usr/lib/pymodules/python2.7/ucsschool/lib/models/base.py", line 417, in create
    success = self.create_without_hooks(lo, validate)
  File "/usr/lib/pymodules/python2.7/ucsschool/lib/models/base.py", line 443, in create_without_hooks
    self.do_create(udm_obj, lo)
  File "/usr/lib/pymodules/python2.7/ucsschool/lib/models/user.py", line 250, in do_create
    success = super(User, self).do_create(udm_obj, lo)
  File "/usr/lib/pymodules/python2.7/ucsschool/lib/models/base.py", line 460, in do_create
    udm_obj.create()
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 295, in create
    return self._create()
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 679, in _create
    al = self._ldap_addlist()
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/users/user.py", line 1766, in _ldap_addlist
    raise univention.admin.uexceptions.uidAlreadyUsed, ': %s' % username
uidAlreadyUsed: : banton1
Comment 1 Florian Best univentionstaff 2016-09-20 13:59:34 CEST
Will probably be fixed by Bug #41711.

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