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

[stable27] fix(attachments): Don't use currentSession for fetching attachments #5485

Merged
merged 2 commits into from
Mar 14, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Mar 14, 2024

Backport of PR #5484

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>
@mejo-
Copy link
Member

mejo- commented Mar 14, 2024

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@mejo- mejo- merged commit f813125 into stable27 Mar 14, 2024
23 of 25 checks passed
@mejo- mejo- deleted the backport/5484/stable27 branch March 14, 2024 16:38
@Altahrim Altahrim mentioned this pull request Mar 21, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants