Skip to content

Fix LayerUploadAbort Endpoint: Should Not Delete InputLayer During Update #88

@robertohuru

Description

@robertohuru

Description:

The LayerUploadAbort endpoint currently deletes the InputLayer object when aborting an update operation. This behavior is incorrect and can lead to unintended data loss.

Issue:

  • During an update, invoking the LayerUploadAbort endpoint deletes the associated InputLayer.
  • The expected behavior is to delete only the related MultipartUpload objects for the specified upload ID.
  • The original InputLayer should be retained and restored to its state before the abort was triggered.

Expected Behavior:

  • On abort, only MultipartUpload objects tied to the provided upload ID should be deleted.
  • The InputLayer must remain intact and reflect the state it had before the update attempt began.

@danangmassandy @zamuzakki

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions