FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[Bug]: Preview file is deleted on unique constraint violation · Issue #63348 · nextcloud/server · GitHub

[Bug]: Preview file is deleted on unique constraint violation #63348

Description

⚠️ This issue respects the following points: ⚠️

Bug description

When we run into a unique constraint violation, we delete the preview file at

$this->storageFactory->deletePreview($previewEntry);

This is problematic for local storage, since that deletes the file on disk, while the entry in the DB exists. We probably should only delete it on object storage.

Nextcloud Server version

35 (master)

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL