Bug 25635 - 404 Fehler im UVMM
404 Fehler im UVMM
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Virtual machines (UVMM)
UCS 3.0
Other Linux
: P5 minor (vote)
: UCS 3.0-2
Assigned To: Florian Best
Andreas Büsching
: interim-2
Depends on:
Blocks: 28810
  Show dependency treegraph
 
Reported: 2011-12-28 10:01 CET by Janis Meybohm
Modified: 2012-10-17 14:10 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:
best: Patch_Available+


Attachments
404.patch (518 bytes, patch)
2012-02-13 11:21 CET, Florian Best
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Janis Meybohm univentionstaff 2011-12-28 10:01:45 CET
Bei jedem Laden der Liste von Instanzen erzeugt der UVMM 2 404 Fehler:
"NetworkError: 404 Not Found - https://samla.knut.univention.de/univention-management-console/%22images/icons/16x16/uvmm-domain.png%22"
"NetworkError: 404 Not Found - https://samla.knut.univention.de/univention-management-console/%22images/icons/16x16/uvmm-domain-on.png%22"
Comment 1 Andreas Büsching univentionstaff 2011-12-28 10:13:56 CET
Das Frontend sucht manche Bilder zuerst mit dem falschen Dateiname (mit angehängtem Leerzeichen %22) aber anschließend mit korrektem Namen. Daher ist das nicht tragisch.
Comment 2 Janis Meybohm univentionstaff 2011-12-28 10:45:14 CET
(In reply to comment #1)
> Das Frontend sucht manche Bilder zuerst mit dem falschen Dateiname (mit
> angehängtem Leerzeichen %22) aber anschließend mit korrektem Namen. Daher ist
> das nicht tragisch.

%22 ist ein Anführungszeichen.
Comment 3 Alexander Kläser univentionstaff 2012-02-03 13:10:20 CET
(In reply to comment #2)
> ...
> %22 ist ein Anführungszeichen.

Stimmt, %20 ist ein Leerzeichen... da muss wohl an der einen oder anderen Stelle versehentlich ein Anführungszeichen eingefügt werden.
Comment 4 Florian Best univentionstaff 2012-02-13 11:21:57 CET
Created attachment 4165 [details]
404.patch

Das tritt auf, wenn new umc.widgets.Text direkt mit dem content-Attribut als Parameter aufgerufen wird.
Comment 5 Alexander Kläser univentionstaff 2012-02-13 17:29:35 CET
Würde denn die folgende Änderung an umc.widgets.Text helfen?

--- umc/widgets/Text.js (Revision 30876)
+++ umc/widgets/Text.js (Arbeitskopie)
@@ -47,6 +47,11 @@
        // the widget's class name as CSS class
        'class': 'umcText',
 
+       postCreate: function() {
+               this.inherited(this);
+               this.set('content', this.content);
+       },
+
        _setContentAttr: function(content) {
                this.content = content;
                this.contentNode.innerHTML = content;
Comment 6 Florian Best univentionstaff 2012-02-14 13:21:30 CET
(In reply to comment #5)
> Würde denn die folgende Änderung an umc.widgets.Text helfen?
Nein.
this.inherited(this) → this.inherited(arguments)
Comment 7 Florian Best univentionstaff 2012-04-04 14:01:41 CEST
Ok. Patch eingespielt, Paket baut.
Comment 8 Andreas Büsching univentionstaff 2012-06-22 12:39:04 CEST
Die Fehler treten nicht mehr auf.

ChangeLog-Eintrag existiert.
Comment 9 Stefan Gohmann univentionstaff 2012-07-20 15:25:34 CEST
UCS 3.0-2 has been released: 
  http://forum.univention.de/viewtopic.php?f=54&t=1905

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