Bug 25635

Summary: 404 Fehler im UVMM
Product: UCS Reporter: Janis Meybohm <meybohm>
Component: UMC - Virtual machines (UVMM)Assignee: Florian Best <best>
Status: CLOSED FIXED QA Contact: Andreas Büsching <buesching>
Severity: minor    
Priority: P5 CC: best, buesching, gohmann, klaeser
Version: UCS 3.0Keywords: interim-2
Target Milestone: UCS 3.0-2Flags: best: Patch_Available+
Hardware: Other   
OS: Linux   
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:
Bug Depends on:    
Bug Blocks: 28810    
Attachments: 404.patch

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".