Uploaded image for project: 'BookBrainz'
  1. BookBrainz
  2. BB-458

It is possible to delete an already deleted entity

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Site Backend
    • Labels:

      Description

      Although the 'delete' button is not clickable for a deleted entity, manually entering a `…/delete` route works.

      After re-deleting the entity, the name is no longer showing (the mechanism is to fetch the last know alias from the previous revision; in this case it'll be empty).

      Instead, there should be a check when hitting the /delete endpoint for the loaded entity's `dataId: if it's null (and hence a 'deleted' entity), throw an error (400 Bad Request? 409 Conflict ? )

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mr_monkey Monkey
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package