nextcloud / nextcloud/officeonline

Each time I open a document, I get added as another co-author

Open
#35 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug
Dominant language
JavaScript
Stars
63
Forks
13
Avg merge
6d 17h
Merged PRs (30d)
8

Description

Describe the bug
Every time I close out of a document and re-open it, I get added again as a co-author. It doesn't matter if I click the X or go to File ⇾ exit, I still get added again as an additional co-author every time I open a document. I opened and closed a document and got up to 30 co-authors before it started crashing.

I am also not sure if there is a way to set an idle time or not. I tried waiting 40 minutes, but all the co-authors are still there. I let it run overnight and they did disappear then.

The issue is kind of 2 fold. 1, Nextcloud is not telling Office Online that I am the same user, and 2 - when you close the document, the users are not dropping from the document.

This happens on all document types.

To Reproduce
Steps to reproduce the behavior:

  1. Open a document
  2. Close the document
  3. Reopen the document.

Expected behavior
NextCloud needs to tell Office Online I am the same author, even if I close and reopen the document. ALso, when I do close (or there is a timeout) it should log me out of the document.

Screenshots
image

Client details:

  • OS: Windows 10
  • Browser Chrome
  • Version 86.0.4240.111
  • Device: Desktop

Server details

Operating system:

Web server: Not sure - Using the Hansson IT Nextcloud VM

Database: PostgreSQL 12.4

PHP version: 7.4.3

Nextcloud version: 20.0.1

Version of the officeonline app 1.0

Version of Office Online server
2019

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

No implementation files or tests are identified in the issue. Start by reproducing the open, close, and reopen sequence in the Office Online integration, then trace the user identity and document-session handling described in the report. Done means reopening does not create another co-author and closing or timing out removes the user from the document.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.