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

dont die if we try to access the shared cache while setting up the shared storage #5091

Merged
merged 1 commit into from
Jun 19, 2017

Conversation

icewind1991
Copy link
Member

While setting up the shared storage it tries to get the file by id, this can call getPathById on the shared storage that is being setup at the moment, leading to a source storage that isn't set yet.

Fixes #3110

@idmacdonald @znerol can you verify that this fixes the problem for you

…ared storage

Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 added the 3. to review Waiting for reviews label May 24, 2017
@icewind1991 icewind1991 added this to the Nextcloud 13 milestone May 24, 2017
@mention-bot
Copy link

@icewind1991, thanks for your PR! By analyzing the history of the files in this pull request, we identified @nickvergessen, @MorrisJobke and @rullzer to be potential reviewers.

@MorrisJobke
Copy link
Member

Ping for review

@nickvergessen
Copy link
Member

I still fail to have reproduction steps for this

@icewind1991
Copy link
Member Author

@nickvergessen I'm not sure about the exact reproduction steps, from what I can tell it only happens in some sharing setups.

See #3110 (comment) for a backtrace that describes the problem

@icewind1991
Copy link
Member Author

icewind1991 commented Jun 16, 2017

👍 from #3110 (comment)

Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

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

Fine by me, seems to work for the reporting people and doesnt break anything here

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

Successfully merging this pull request may close these issues.

PROPFIND causes Error: Call to a member function getCache() on null
4 participants