nextcloud / nextcloud/richdocuments

Office document previews broken in Activity section

Open
#2,241 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature: previews and thumbnails needs info
Dominant language
JavaScript
Stars
453
Forks
147
Avg merge
14h 54m
Merged PRs (30d)
83

Description

Steps To Reproduce

Install Collabora

  1. Go to 'Open Documet'
  2. Click on 'Activity'

On the Activity doesn't show the icon of the Document

Expected Result

Show the ICONs as below from another instance of Nextcloud 24

Screenshot 2022-05-11 at 12 32 39 PM

URL of working instance of icons

https://portal2.MYDOMAIN.com/apps/theming/img/core/filetypes/x-office-document.svg?v=0

the working instance doesn't have "-" on the domain if that helps

Actual Result

Doesn't show the ICONs

Screenshot 2022-05-11 at 12 31 37 PM

URL of not working instance of icons:

https://portal.MY-DOMAIN.com/core/preview.png?file=/Documents/Welcome%20to%20Nextcloud%20Hub.docx&x=150&y=150&c=dd98b52737fa6af6eb3372819b7255c1

The not working instance has "-" in the domain.

Screenshots, Videos, or Pastebins

Working:

Screenshot 2022-05-11 at 12 39 56 PM

Not Working:

Screenshot 2022-05-11 at 12 40 07 PM

No response

Additional Context

No response

Build Version

24.0.0

Environment

By using the scripts

Environment Details

Ubuntu 22.04

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue through Open Document and the Activity section with Collabora installed, then compare the working and failing preview URLs in the report. Done means office document icons appear in Activity as shown in the working Nextcloud 24 instance.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.