adobe / da-admin

Apache License 2.0
0 stars 4 forks source link

Copy operation allows source and destination to be the same causing loss of history #61

Closed bosschaert closed 2 weeks ago

bosschaert commented 1 month ago

The copyObject operation allows both source and destination to be the same. While this would be a useless operation anyway, when executed it wipes the history of the object as it is assigned a new ID.

If the copy operation has the same source and destination, a 400 or 409 HTTP status code should be returned and no action should be taken.

See also https://github.com/adobe/da-live/issues/187