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

[stable29] fix(IntegrityCheck): Ensure the check is run if no results are available #46298

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Jul 4, 2024

Backport of PR #46174

@backportbot backportbot bot added bug 3. to review Waiting for reviews feature: settings php Pull requests that update Php code labels Jul 4, 2024
@backportbot backportbot bot added this to the Nextcloud 29.0.4 milestone Jul 4, 2024
@susnux
Copy link
Contributor

susnux commented Jul 4, 2024

  • TODO: Remove union types not support on stable29...

@susnux susnux added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Jul 4, 2024
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 backport/46174/stable29 branch from 1d784b8 to 57c889f Compare July 5, 2024 10:32
@susnux susnux added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Jul 5, 2024
@susnux
Copy link
Contributor

susnux commented Jul 5, 2024

Issues resolved, can be reviewed

@Altahrim Altahrim mentioned this pull request Jul 10, 2024
@susnux susnux merged commit 2071f4d into stable29 Jul 10, 2024
177 checks passed
@susnux susnux deleted the backport/46174/stable29 branch July 10, 2024 17:01
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.

2 participants