nextcloud/lib
Anna Larch 5113b18739 fix(appstore): catch GenericFileException when reading cache file in Fetcher
When the appstore cache file exists but getContent() throws a
GenericFileException (I/O error or OS-level permission failure), explicitly
delete the file and recreate it before writing fresh data — mirroring the
NotFoundException recovery path. If deletion itself fails, return [] cleanly.

Previously, the unhandled exception caused the entire apps settings page to
crash. The new test covers both the recovery path and deletion failure.

Signed-off-by: Anna Larch <anna@nextcloud.com>
AI-Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 16:34:06 +02:00
..
composer feat(TaskProcessing): add TextToTextReformatParagraphs task type 2026-05-06 09:03:07 -04:00
l10n fix(l10n): Update translations from Transifex 2026-05-10 00:19:09 +00:00
private fix(appstore): catch GenericFileException when reading cache file in Fetcher 2026-05-19 16:34:06 +02:00
public Merge pull request #60171 from nextcloud/feat/task/reformat-paragraphs 2026-05-08 04:21:20 -04:00
unstable chore: adjust NCU to have proper final keyword and Override attribute where needed 2026-04-28 21:29:28 +02:00
base.php refactor: use strict operator 2026-04-30 00:51:29 +02:00
versioncheck.php ci(PHP): Test against 8.5 on CI 2025-12-19 15:34:34 +01:00