newfs / gobotany-app

Deployable code for the Go Botany application
9 stars 8 forks source link

D. Key editing: unable to delete couplet if one lead deleted manually #793

Closed jnga closed 2 years ago

jnga commented 2 years ago

If one of two leads in a couplet were deleted using the Change screen, deleting the other via the D. Key editor fails.

To reproduce this: add a couplet, then go to the Change screen for one of the two newly added leads. From there, delete the record by pressing the red Delete button. Then go back to the D. Key Editor and refresh the page. You should now see only one of the two leads there, with "Delete 5a/" or "Delete /5b" (instead of "Delete 5a/5b" as normal). If you choose Delete, it does not work. What's expected is that choosing Delete there will clean up the remaining lead just as if both were there.