-
Notifications
You must be signed in to change notification settings - Fork 19
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
Failed to load attachment #1096
Comments
Also seeing this. Browser console says there's an issue due to the socket being in connecting state. Probably related to why it works when moving to edit mode? |
I see this too, but not with all attachment types: PDFs and SVGs show the buggy behavior, but PNGs work correctly. |
I have defaulted to edit mode. This is only happening in preview mode |
Dear @Jeefongithub, thanks for the report. Does this happen to you all the time? Or just in some cases or on some pages? Can you please open the web console of your browser (Ctrl-Shift-I on Firefox/Chrome), reproduce this bug and send us any errors or warnings being logged there. |
Only for some attachment types: PDFs and SVGs show the buggy behavior, but PNGs work correctly.
Just tried: I do not see anything in the console when opening pages which contain buggy attachments, nor when switching from view mode (which shows the buggy behavior) to edit mode (which shows attachments correctly). |
This is a bug in Nextcloud Text. nextcloud/text#5484 fixes it. We'll take care that this lands in the upcoming Nextcloud 27 and 28 bugfix releases. |
When switching pages in Collectives, `currentSession` might still be the session from the last page. The readonly view (`MarkdownContentEditor`) doesn't get a session, so the outdated session is used. Instead, always pass the session from `AttachmentResolver` to `setAttachmentList`. Fixes: nextcloud/collectives#1096 Fixes: nextcloud/collectives#1112 Signed-off-by: Jonas <jonas@freesources.org>
When switching pages in Collectives, `currentSession` might still be the session from the last page. The readonly view (`MarkdownContentEditor`) doesn't get a session, so the outdated session is used. Instead, always pass the session from `AttachmentResolver` to `setAttachmentList`. Fixes: nextcloud/collectives#1096 Fixes: nextcloud/collectives#1112 Signed-off-by: Jonas <jonas@freesources.org>
When switching pages in Collectives, `currentSession` might still be the session from the last page. The readonly view (`MarkdownContentEditor`) doesn't get a session, so the outdated session is used. Instead, always pass the session from `AttachmentResolver` to `setAttachmentList`. Fixes: nextcloud/collectives#1096 Fixes: nextcloud/collectives#1112 Signed-off-by: Jonas <jonas@freesources.org>
Describe the bug
A clear and concise description of what the bug is.
When opening a page with attachments in view mode all attachments show as 'failed to load attachment'
To Reproduce
Steps to reproduce the behavior:
Expected behavior
preview of dialog showing attachment that can be selected
Screenshots
If applicable, add screenshots to help explain your problem.
Server details:
Client details:
Logs
Nextcloud log (data/nextcloud.log)
Browser log
The text was updated successfully, but these errors were encountered: