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

return the correct value when trying to get a non existing item from cache by id #12494

Merged
merged 2 commits into from
Nov 20, 2018

Conversation

icewind1991
Copy link
Member

Signed-off-by: Robin Appelman robin@icewind.nl

…cache by id

Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Nov 16, 2018
@icewind1991 icewind1991 added this to the Nextcloud 15 milestone Nov 16, 2018
@MorrisJobke
Copy link
Member

@icewind1991 How to test this?

Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991
Copy link
Member Author

@MorrisJobke I ran into this while working on the versions implementation for group folders, afaik there is no existing code running into this issue. Added a test case to cover it

Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

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

Code makes sense 👍

@MorrisJobke MorrisJobke merged commit cc6c30e into master Nov 20, 2018
@MorrisJobke MorrisJobke deleted the cache-notfound-id branch November 20, 2018 08:51
@MorrisJobke MorrisJobke mentioned this pull request Nov 22, 2018
7 tasks
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.

3 participants