nextcloud/lib
Anna Larch 5d9dd80332 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-20 00:51:53 +00:00
..
composer feat: add permissions mask variant that only masks one directory 2026-04-09 23:54:51 +00:00
l10n fix(l10n): Update translations from Transifex 2026-05-19 00:23:32 +00:00
private fix(appstore): catch GenericFileException when reading cache file in Fetcher 2026-05-20 00:51:53 +00:00
public fix(teams-api): adjust resource filtering 2026-04-27 08:35:40 -03:00
unstable fix(lexicon): missing doc 2025-07-24 15:56:35 -01:00
base.php fix: add user id header when redirecting to default app 2026-02-19 14:28:07 +00:00
versioncheck.php feat(PHP): Allow PHP 8.4 2024-11-08 12:59:12 +01:00