Skip to content

Failing to delete file attachment as user with projects permission #160

@sentry

Description

@sentry

This seems to happen only in some cases after uploading a file attachment and then deleting the file again as a user with special conditions.

Sentry Issue: AAM-DIGITAL-5SY

Error: Failed to update file: {"headers":{"normalizedNames":{},"lazyUpdate":null},"status":403,"statusText":"OK","url":"https://socialshapesfoundation.aam-digital.com/db/app-attachments/Child:163e9f40-cfa2-499f-9a50-e9c1e2b7f6dd/photo?rev=5-5869df3ca441202a...
  at Logging.LoggingService.logToRemoteMonitoring (./src/app/core/logging/logging.service.ts:198:11)
  at Logging.LoggingService.log (./src/app/core/logging/logging.service.ts:168:12)
  at Logging.LoggingService.error (./src/app/core/logging/logging.service.ts:151:10)
  at {EditFileComponent#2}.handleError (./src/app/features/file/edit-file/edit-file.component.ts:117:15)
  at <object>.error (./src/app/features/file/edit-file/edit-file.component.ts:165:28)
...
(40 additional frame(s) were not displayed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Complex Issueadvanced, particularly challenging topic that requires extensive knowledge of the code base

    Type

    Projects

    Status

    Todo (ready for work)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions