Page MenuHomekolab.org

Broken link in "Files" plugin
Closed, ResolvedPublic

Description

When opening a file within the "Files" plugin in Roundcube, I get the following error in the console:

Failed to load resource: the server responded with a status of 404 (Not Found)
https://webmail.xxx.eu/assets/program/resources/blank.tiff

In seems to come from /usr/share/chwala/public_html/js/files_api.js (line 566):

img.src = this.env.resources_dir + '/blank.tiff';

I think, it should be:

img.src = this.env.resources_dir + '/blank.tif';

After the change, Chrome did not complain any more.

My chwala version: chwala-0.5-12.1.el7.kolab_16.noarch
I don't know exactly whether this is a chwala issue, so please let me know, if you need the version of some other package.

Details

Ticket Type
Task

Event Timeline

machniak added a subscriber: machniak.

Looks like rC21f6abd52a929 broke compatibility with Roundcube 1.2. Looks like we have now 3 options:

  1. Revert the change and wait with Roundcube 1.3 support until it's in Kolab, then apply it again
  2. Copy blank.tiff to blank.tif in roundcubemail package
  3. Use chwala URL to access these files.

Probably the 3rd option would be the best.

machniak closed this task as Resolved.May 30 2017, 4:30 PM
machniak claimed this task.

The fix is in roundcubemail-plugins-kolab repo.