Skip to content

Incomplete UI for richdocuments (Collabora Office) #1025

@mgoppold

Description

@mgoppold

The UI is incomplete. The are no Icons / Buttons see screenshot

Bildschirmfoto vom 2020-06-09 21-33-13

journalctl -u loolwsd -f:

Jun 09 21:29:33 mail2 loolwsd[21947]: wsd-21947-21967 2020-06-09 19:29:33.165559 [ websrv_poll ] WRN  FileServerRequestHandler: File not found: Invalid URI request: [/loleaflet/6144a6c/images/lc_decrementlevel_branding.svg].| wsd/FileServer.cpp:479
Jun 09 21:29:33 mail2 loolwsd[21947]: wsd-21947-21967 2020-06-09 19:29:33.174054 [ websrv_poll ] WRN  FileServerRequestHandler: File not found: Invalid URI request: [/loleaflet/6144a6c/images/lc_alignblock_branding.svg].| wsd/FileServer.cpp:479
Jun 09 21:29:33 mail2 loolwsd[21947]: wsd-21947-21967 2020-06-09 19:29:33.187947 [ websrv_poll ] WRN  FileServerRequestHandler: File not found: Invalid URI request: [/loleaflet/6144a6c/images/lc_alignleft_branding.svg].| wsd/FileServer.cpp:479
Jun 09 21:29:33 mail2 loolwsd[21947]: wsd-21947-21967 2020-06-09 19:29:33.189404 [ websrv_poll ] WRN  FileServerRequestHandler: File not found: Invalid URI request: [/loleaflet/6144a6c/images/lc_showannotations_branding.svg].| wsd/FileServer.cpp:479
Jun 09 21:29:58 mail2 loolwsd[21947]: wsd-21947-21967 2020-06-09 19:29:58.545229 [ websrv_poll ] WRN  FileServerRequestHandler: File not found: Invalid URI request: [/loleaflet/6144a6c/images/close-widget.svg].| wsd/FileServer.cpp:479

If I test the an Icon with curl I get:

curl https://collabora.server.tld/loleaflet/6144a6c/images/lc_about_branding.svg
<h1>Error: 404 - file not found!</h1><p>There seems to be a problem locating /loleaflet/6144a6c/images/lc_about_branding.svg</p><p>Please contact your system administrator.</p>

but without _branding:

curl https://collabora.server.tld/loleaflet/6144a6c/images/lc_about.svg
<svg height="32" width="32" xmlns="http://www.w3.org/2000/svg">...</svg>

Server details

Operating system:

openSUSE Leap 15.1

Web server:

apache2-2.4.33-lp151.8.12.1.x86_64

Nextcloud version:

18.0.5

Version of the richdocuments app

3.7.0

Version of Collabora Online

  • LOOLWSD 4.2.3 (git hash: 6144a6c)
  • LOKit Collabora Office 6.2-12 (git hash: 8dce0b1) "openSUSE Leap 15.1"
zypper se -r 1 -i -s
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...

S  | Name                                         | Typ   | Version      | Arch   | Repository
---+----------------------------------------------+-------+--------------+--------+-----------
i+ | CODE-brand                                   | Paket | 4.2-23       | noarch | CODE      
i  | collaboraoffice6.2                           | Paket | 6.2.10.12-12 | x86_64 | CODE      
i+ | collaboraoffice6.2-dict-de                   | Paket | 6.2.10.12-12 | x86_64 | CODE      
i  | collaboraoffice6.2-ure                       | Paket | 6.2.10.12-12 | x86_64 | CODE      
i  | collaboraofficebasis6.2-calc                 | Paket | 6.2.10.12-12 | x86_64 | CODE      
i  | collaboraofficebasis6.2-core                 | Paket | 6.2.10.12-12 | x86_64 | CODE      
i+ | collaboraofficebasis6.2-de                   | Paket | 6.2.10.12-12 | x86_64 | CODE      
i  | collaboraofficebasis6.2-draw                 | Paket | 6.2.10.12-12 | x86_64 | CODE      
i  | collaboraofficebasis6.2-en-US                | Paket | 6.2.10.12-12 | x86_64 | CODE      
i  | collaboraofficebasis6.2-extension-pdf-import | Paket | 6.2.10.12-12 | x86_64 | CODE      
i  | collaboraofficebasis6.2-graphicfilter        | Paket | 6.2.10.12-12 | x86_64 | CODE      
i  | collaboraofficebasis6.2-images               | Paket | 6.2.10.12-12 | x86_64 | CODE      
i  | collaboraofficebasis6.2-impress              | Paket | 6.2.10.12-12 | x86_64 | CODE      
i  | collaboraofficebasis6.2-ooofonts             | Paket | 6.2.10.12-12 | x86_64 | CODE      
i  | collaboraofficebasis6.2-ooolinguistic        | Paket | 6.2.10.12-12 | x86_64 | CODE      
i  | collaboraofficebasis6.2-writer               | Paket | 6.2.10.12-12 | x86_64 | CODE      
i+ | loolwsd                                      | Paket | 4.2.3-3      | x86_64 | CODE      

Workaround

new Rewrite in vhost Config:

  RewriteEngine On
  RewriteRule /loleaflet/(.*)/images/(.*)_branding.(.*) /loleaflet/$1/images/$2.$3 [R]

Bildschirmfoto vom 2020-06-09 22-16-47

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions