Bug 34737 - Shares modified even when group rename fails
Shares modified even when group rename fails
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Import scripts
UCS@school 3.2 R2
Other Linux
: P5 normal (vote)
: UCS@school 3.2 R2
Assigned To: Sönke Schwardt-Krummrich
Dirk Wiesenthal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-02 15:12 CEST by Dirk Wiesenthal
Modified: 2014-06-12 09:20 CEST (History)
1 user (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 Dirk Wiesenthal univentionstaff 2014-05-02 15:12:15 CEST
In rename_class():

try:
  groupObject.modify()
except:
  success = False
[...] # going on, some shareObject manipulations
try:
  shareObject.modify()
except:
  success = False
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2014-05-02 15:39:50 CEST
Fixed:
If renaming of the group object failed, the script does not try to rename the share object anymore.

ucs-school-import (10.0.11-1) unstable; urgency=low
Comment 2 Dirk Wiesenthal univentionstaff 2014-05-15 14:37:50 CEST
Ok
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2014-06-12 09:19:31 CEST
UCS@school 3.2 R2 has been released:
http://docs.univention.de/release-notes-ucsschool-3.2R2-de.html

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