[PR #260] [MERGED] Delete assets from server if local deletion fails #8529

Closed
opened 2026-02-05 13:48:52 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/260
Author: @matthinc
Created: 6/24/2022
Status: Merged
Merged: 6/24/2022
Merged by: @alextran1502

Base: mainHead: fix-delete-locally


📝 Commits (2)

  • 20df865 Delete assets from server if local deletion fails
  • 0e8666a Remove commented line

📊 Changes

1 file changed (+7 additions, -3 deletions)

View changed files

📝 mobile/lib/shared/providers/asset.provider.dart (+7 -3)

📄 Description

Just a little edge-case that I stumbled across. If an asset was deleted locally but still exists on the server, the deletion fails beacause deleteWithIds throws an uncaught exception.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/260 **Author:** [@matthinc](https://github.com/matthinc) **Created:** 6/24/2022 **Status:** ✅ Merged **Merged:** 6/24/2022 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `fix-delete-locally` --- ### 📝 Commits (2) - [`20df865`](https://github.com/immich-app/immich/commit/20df865bc75c6365732112a423412a62f5751da9) Delete assets from server if local deletion fails - [`0e8666a`](https://github.com/immich-app/immich/commit/0e8666ae4ca73b20d906b60bc239323fef2101f4) Remove commented line ### 📊 Changes **1 file changed** (+7 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `mobile/lib/shared/providers/asset.provider.dart` (+7 -3) </details> ### 📄 Description Just a little edge-case that I stumbled across. If an asset was deleted locally but still exists on the server, the deletion fails beacause `deleteWithIds` throws an uncaught exception. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 13:48:52 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#8529