Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lost edit after going offline and coming back online #1667

Closed
PVince81 opened this issue Jun 18, 2021 · 3 comments
Closed

Lost edit after going offline and coming back online #1667

PVince81 opened this issue Jun 18, 2021 · 3 comments
Labels

Comments

@PVince81
Copy link
Member

PVince81 commented Jun 18, 2021

To Reproduce
Steps to reproduce the behavior:

  1. Open the text editor
  2. Type some text "first line"
  3. Wait for save
  4. Type some text "second line" and quickly disable the laptop's wifi before it saves.
  5. Wait for about a minute
  6. Bring back the wifi
  7. Click the button "reconnect"

Expected behavior
The line "second line" is still there and saved.

Actual behavior
After going offline and after some delay, a spinner appears instead of the text editor.
Two error messages appear about being offline.
One of them has a button to reconnect.
After reconnecting the wifi, the "second line" is gone and the file has an older state with only "first line".

Client details:

  • OS: [e.g. iOS]
  • Browser: Firefox
  • Version: 89
  • Device: Laptop with openSUSE Tumbleweed
Server details See c.nc.com

Text app version: the one from c.nc.com

Browser log

image
@PVince81 PVince81 added the bug Something isn't working label Jun 18, 2021
@max-nextcloud
Copy link
Collaborator

Other bugs in the area:

Will add to the board with high priority.

For this issue in particular I think the steps in question might not have been send yet. So we need to keep them around and try resending them once the reconnection succeeds.

@max-nextcloud max-nextcloud moved this to 🧭 Planning evaluation (don't pick) in 📝 Office team Nov 14, 2022
@max-nextcloud max-nextcloud moved this from 🧭 Planning evaluation (don't pick) to 📄 To do (~10 entries) in 📝 Office team Nov 14, 2022
@max-nextcloud max-nextcloud moved this to 📄 To do (~10 entries) in 📝 Office team Nov 14, 2022
@juliusknorr
Copy link
Member

Might be something interesting to retest after the recent changes with y.js and session handling.

@mejo-
Copy link
Member

mejo- commented Jul 12, 2023

This probably got fixed by the recent changes in #4474. Since the original issue is from before the Yjs migration, I'll close it. If those things still happen, we should open a new issue to track them.

@mejo- mejo- closed this as completed Jul 12, 2023
@github-project-automation github-project-automation bot moved this from 📄 To do (~10 entries) to ☑️ Done in 📝 Office team Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

4 participants