Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Jun 27, 2024

Summary

If there are no cached results the current implementation was also returning an empty array, but this was the same as when there was a successful run. So to distinguish this we return null if there are no results. In this case we need to rerun the integrity checker.

Checklist

@susnux susnux added bug 3. to review Waiting for reviews php Pull requests that update Php code labels Jun 27, 2024
@susnux susnux added this to the Nextcloud 30 milestone Jun 27, 2024
@susnux susnux force-pushed the fix/integrity-check branch from 9c5e92d to 9373347 Compare June 27, 2024 13:27
@susnux
Copy link
Contributor Author

susnux commented Jun 27, 2024

/backport to stable29

@susnux
Copy link
Contributor Author

susnux commented Jun 27, 2024

/backport to stable28

If there are no cached results the current implementation was also returning an empty array,
but this was the same as when there was a successful run.
So to distinguish this we return `null` if there are *no* results.
In this case we need to rerun the integrity checker.

Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux force-pushed the fix/integrity-check branch from 9373347 to 8fc498f Compare July 3, 2024 09:37
@susnux susnux requested a review from come-nc July 3, 2024 09:38
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 bug feature: settings php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants