-
Notifications
You must be signed in to change notification settings - Fork 92
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
[Bug]: "Editing session has expired. Please reload the page." on public share links with readme.md #5800
Comments
Having the same problem with a Note that I shared publicly. The message pops up over and over while trying to view the document. |
I have the same issue on anleitung.md and txt-files in a group folder. |
Issue here as well. Read-only share keeps popping up this message repeatedly, making it unsuitable for me to share Markdown documents for others to read without it looking horribly unprofessional or like the viewer is doing something wrong. |
Thanks all for your report. So far it seems to me like this only happens in documents with headings. My current guess is that this is because |
yjs/y-prosemirror#134 could be helpful though I'm also not sure if that could have unexpected side effects later on in the sync Quick fix would be to never send any step data on the client side if we are in read only mode. Otherwise we'd probably need to rethink how headings are extracted. Maybe there is a way to define the unique id at time of rendering the heading and store it then to build the toc from that? |
I have the same problem with, at least, |
Same problem here with Nextcloud 28.0.6. |
This avoids transactions that actually change the document state. Fixes #5861. Fixes #5800. Signed-off-by: Max <[email protected]>
Fixed by #5895 |
Bug description
When accessing folders with "readme.md" files through public shares, an error "Editing session has expired. Please reload the page." will popup periodically.
Checking inside of Developer Tools -> Network, periodic calls to "/apps/text/public/session/2012934/push" and "/apps/text/public/session/2012934/sync" are executed.
Call to sync returns a bunch of "steps" and "sessions", while call to push only had the "Editing session has expired" message.
This does not happen when you are logged in.
Steps to reproduce
Expected behavior
You are able to see and scroll the readme.md file.
Installation method
Community Web installer on a VPS or web space
Nextcloud Server version
29
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.3
Web server
Nginx
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
I have backported a "group folders" app for NC29 until they release a proper one, but the issue also happens if that app is disabled.
The text was updated successfully, but these errors were encountered: