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

fix(office): getUser from userSession #995

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Conversation

max-nextcloud
Copy link
Collaborator

@max-nextcloud max-nextcloud commented Oct 16, 2024

$userId might be injected too early and still be null.

Fixes #996.

`$userId` might be injected too early and still be `null`.

Signed-off-by: Max <[email protected]>
@max-nextcloud max-nextcloud force-pushed the fix/collabora-not-loading branch from d49087a to 37ee294 Compare October 16, 2024 09:03
@max-nextcloud max-nextcloud changed the title fix(office): getUser from userManager fix(office): getUser from userSession Oct 16, 2024
@max-nextcloud
Copy link
Collaborator Author

So far this is just a suspicion that we are investigating. Still needs to be confirmed that this actually fixes the issue.

@max-nextcloud
Copy link
Collaborator Author

Addressing the regression of #260

@max-nextcloud max-nextcloud marked this pull request as ready for review October 16, 2024 09:34
@max-nextcloud
Copy link
Collaborator Author

I was able to confirm this fixes the /contents request that triggered the exception before.

Copy link
Member

@juliusknorr juliusknorr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also can confirm this works, code also looks good

@GretaD GretaD merged commit 1c045a7 into master Oct 16, 2024
26 checks passed
@GretaD GretaD deleted the fix/collabora-not-loading branch October 16, 2024 10:25
@dertorsten
Copy link

I also can confirm this works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression: TOS breaks Collabora
4 participants