taxonworks icon indicating copy to clipboard operation
taxonworks copied to clipboard

[Bug]: Unable to delete depictions in TRanscribe Depiction task

Open mmkohler opened this issue 1 year ago • 3 comments

Steps to reproduce the bug

After I move a depiction to an already existing collection Object, I am then unable to delete the original depiction.
2.
3. 
...

Screenshot

No response

Expected behavior

After I move/match a depiction to its already existing collection object, I should then be able to delete the original stub/depiction.

Additional Screenshots

No response

Environment

Production

Sandbox Used

No response

Version

v0.37.0

Browser Used

Chrome

mmkohler avatar Dec 21 '23 20:12 mmkohler

@jlpereira @mmkohler there is new behaviour in the models that might be impacting this. When we move a sqed based depiction to another CO then the previous CO is automatically destroyed if it doesn't have a particular set of data (i.e. is otherwise empty). This might be interfereing with the UI.

mjy avatar Dec 22 '23 00:12 mjy

@mmkohler If you move a depiciton then it no longer needs to be destroyed, can you clarify the issue?

mjy avatar Dec 23 '23 15:12 mjy

In the past, we have always deleted the original image after the depiction was moved. Maybe Tommy can explain it better?

@mmkohler Delete the image, or the CollectionObject? Can you take a screenshot of the radial you are using when you trigger the delete in question?

New changes will auto-delete the CollectionObject that the image that was moved from if it has no data.

mmkohler avatar Dec 23 '23 17:12 mmkohler