Bug 28272 - Lange Ladezeiten für Policies Print-Quota
Lange Ladezeiten für Policies Print-Quota
Status: CLOSED DUPLICATE of bug 26556
Product: UCS
Classification: Unclassified
Component: UMC - Printers
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.1
Assigned To: Dirk Wiesenthal
Stefan Gohmann
: interim-3
Depends on: 28084
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-22 10:33 CEST by Janis Meybohm
Modified: 2013-02-25 12:20 CET (History)
6 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): UCS Performance
Max CVSS v3 score:
meybohm: Patch_Available+


Attachments
Patch für simple Syntax Definitionen in policies/print_quota (868 bytes, patch)
2012-08-22 10:33 CEST, Janis Meybohm
Details | Diff
Additional Syntax-File (451 bytes, text/plain)
2012-09-13 15:24 CEST, Sönke Schwardt-Krummrich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Janis Meybohm univentionstaff 2012-08-22 10:33:16 CEST
Created attachment 4613 [details]
Patch für simple Syntax Definitionen in policies/print_quota

+++ This bug was initially created as a clone of Bug #28084 +++

Auch das Laden von Quota-Richtlinien braucht in großen Umgebungen sehr viel
Zeit da durch die Syntax-Definitionen PrintQuotaGroup, PrintQuotaGroupPerUser,
PrintQuotaUser alle Gruppen und Benutzer geladen werden.

Ich habe im Patch analog zu bug28084 die Syntax-Definitionen
PrintQuotaSimpleGroup, PrintQuotaSimpleGroupPerUser und PrintQuotaSimpleUser
hinzugefügt. Der Patch kann mit dem folgenden Befehl eingespielt werden:
# patch -p0 -i <Patch-Datei>

Anschließend kann die Syntax per UCR überschrieben werden:

ucr set
directory/manager/web/modules/policies/print_quota/properties/quotaGroups/syntax=PrintQuotaSimpleGroup
\

directory/manager/web/modules/policies/print_quota/properties/quotaGroupsPerUsers/syntax=PrintQuotaSimpleGroupPerUser
\

directory/manager/web/modules/policies/print_quota/properties/quotaUsers/syntax=PrintQuotaSimpleUser
Comment 1 Alexander Kläser univentionstaff 2012-09-03 17:10:44 CEST
Dieser Bug sollte sich erübrigen mit Bug 26556.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2012-09-13 15:24:15 CEST
Created attachment 4655 [details]
Additional Syntax-File

Im Anhang befindet sich eine zusätzliche Syntax-Definition, die in 
/usr/share/pyshared/univention/admin/syntax.d/ abgelegt werden kann. Sie überlebt dann auch Errata-Updates.
Comment 3 Tim Petersen univentionstaff 2012-09-20 08:48:13 CEST
(In reply to comment #2)
> Created an attachment (id=4655) [details]
> Additional Syntax-File
> 
> Im Anhang befindet sich eine zusätzliche Syntax-Definition, die in 
> /usr/share/pyshared/univention/admin/syntax.d/ abgelegt werden kann. Sie
> überlebt dann auch Errata-Updates.

Das funktioniert beim Kunden und in meiner Testumgebung nicht - hierzu habe ich Bug #28610 erstellt.
Comment 4 Dirk Wiesenthal univentionstaff 2012-10-11 16:41:30 CEST
Das könnte sich mit Bug #26556 erledigt haben.
Comment 5 Alexander Kläser univentionstaff 2012-10-19 17:00:32 CEST

*** This bug has been marked as a duplicate of bug 26556 ***
Comment 6 Stefan Gohmann univentionstaff 2012-11-16 13:35:19 CET
Ja, das funktioniert jetzt ebenfalls für Druckquota
Comment 7 Stefan Gohmann univentionstaff 2012-12-12 21:07:50 CET
UCS 3.1-0 has been released: 
 http://forum.univention.de/viewtopic.php?f=54&t=2125

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