Bug 24063 - UMC UDM: Entfernen des Print Quota führt zu "Internal Module Error"
UMC UDM: Entfernen des Print Quota führt zu "Internal Module Error"
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Printers
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.0 - RC
Assigned To: Andreas Büsching
Felix Botner
: interim-4
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-14 14:44 CEST by Felix Botner
Modified: 2011-12-13 15:49 CET (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 Felix Botner univentionstaff 2011-10-14 14:44:44 CEST
'setQuota'
File '/usr/lib/pymodules/python2.6/notifier/threads.py', line 75, in _run
tmp = self._function()

File '/usr/lib/pymodules/python2.6/notifier/__init__.py', line 107, in __call__
return self._function( *tmp )

File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py', line 153, in _thread
module.modify( properties )

File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/ldap.py', line 109, in wrapper_func
ret = func( *args, **kwargs )

File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/ldap.py', line 263, in modify
obj.modify()

File '/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py', line 332, in modify
return self._modify(modify_childs,ignore_license=ignore_license)

File '/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py', line 696, in _modify
self._ldap_pre_modify()

File '/usr/lib/pymodules/python2.6/univention/admin/handlers/shares/printer.py', line 318, in _ldap_pre_modify
if self.hasChanged('setQuota') and self.info['setQuota'] == '0':
Comment 1 Felix Botner univentionstaff 2011-10-28 13:23:12 CEST
Hier scheint es ein Problem zwischen UMC Server und UDM zu geben.

Vom Frontend bekommt der Server setQuota=false, im UDM ist jedoch das Attribut gar nicht gesetzt:

info {'ACLtype': 'allow all', 'name': 'printer1', 'producer': 'cn=Citizen,cn=cups,cn=univention,dc=zzz,dc=iii', 'uri': ('socket://', '10.200.7.1:631'), 'model': 'foomatic-rip/Citizen-ProJet_II-gutenprint-ijs-simplified.5.2.ppd', 'spoolHost': ['master.zzz.iii']}
~
Comment 2 Andreas Büsching univentionstaff 2011-10-28 15:05:32 CEST
Das sollte jetzt korrigiert sein. Beim Anlegen und Modifizeren werden die Attribute alle zuvor anhand ihrer Syntax für UDM gemappt.

Paket baut
Comment 3 Felix Botner univentionstaff 2011-11-03 15:32:51 CET
Funktioniert, Changlog Eintrag nicht notwendig.
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2011-12-13 15:49:57 CET
UCS 3.0-0 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer
neueren Version von UCS erneut auftreten, so sollte dieser Bug dupliziert
werden: "Clone This Bug"