sharing broken in collabora online when opening document via deck app
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 354
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 43
Description
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Describe the bug
When opening a document (odt, xlsx,...) via the attachment tab in a card the share button in Collabora office seems to be doing nothing. When taking a look at the console the following error can be observed:
Uncaught (in promise) Error: Cannot open sidebar because the active folder or view is not set.
v sidebar.ts:43
a pinia.mjs:1399
open index.mjs:614
share FilesAppIntegration.js:136
share Office.vue:386
postMessageHandler Office.vue:517
handlePostMessage postMessage.tsx:74
handlePostMessage postMessage.tsx:68
e postMessage.tsx:12
sidebar.ts:43:19
a pinia.mjs:1404
open index.mjs:614
share FilesAppIntegration.js:136
InterpretGeneratorResume self-hosted:1312
AsyncFunctionNext self-hosted:780
(Async: async)
share Office.vue:386
postMessageHandler Office.vue:517
handlePostMessage postMessage.tsx:74
forEach self-hosted:145
handlePostMessage postMessage.tsx:68
e postMessage.tsx:12
To Reproduce
Steps to reproduce the behavior:
- Create document in Files app
- Go to Deck app
- Create card in Deck board
- Attach document to card
- open card via deck board
- press share button in collabora
- observe nothing visible happening
Expected behavior
The regular sharing sidebar opening
Screenshots
Client details:
- OS:
- Browser:
- Version:
- Device:
Server details
Operating system: Rocky Linux 9.8
Web server: httpd 2.4.62-13.el9_8.1
Database: mariadb.x86_64 3:10.11.15-2.module+el9.7.0
PHP version: php 8.4.22-1
Nextcloud version: 33.0.5
Where did you install Nextcloud from: Community project installation via Archive
No errors have been found.
Browser log
Uncaught (in promise) Error: Cannot open sidebar because the active folder or view is not set.
v sidebar.ts:43
a pinia.mjs:1399
open index.mjs:614
share FilesAppIntegration.js:136
share Office.vue:386
postMessageHandler Office.vue:517
handlePostMessage postMessage.tsx:74
handlePostMessage postMessage.tsx:68
e postMessage.tsx:12
sidebar.ts:43:19
a pinia.mjs:1404
open index.mjs:614
share FilesAppIntegration.js:136
InterpretGeneratorResume self-hosted:1312
AsyncFunctionNext self-hosted:780
(Async: async)
share Office.vue:386
postMessageHandler Office.vue:517
handlePostMessage postMessage.tsx:74
forEach self-hosted:145
handlePostMessage postMessage.tsx:68
e postMessage.tsx:12
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Collabora sharing flow shown in Office.vue and FilesAppIntegration.js, then trace the postMessage handling in postMessage.tsx and the sidebar failure in sidebar.ts. Reproduce by opening an attached document from a Deck card and pressing Share; done means the regular sharing sidebar opens without the active-folder or view error.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100