b2share icon indicating copy to clipboard operation
b2share copied to clipboard

UI/API: bad handling of deleted record versions

Open nharraud opened this issue 8 years ago • 0 comments

Problems: When a record version is deleted the UI does not update correctly:

  • [ ] If the last version is deleted the previous version still warn that it is not the last version.
  • [ ] If the last version is deleted, it is not possible to create a new version via the UI. Via the API it is possible to use the last non-deleted version.
  • [ ] When an intermediate version is selected in the dropdown it shows a 410 error message (which is normal) but doesn't show the dropdown to access the other versions.

Solution: Modify the /versions endpoint in order to return the PIDs statuses. Use the information appropriately in the UI.

nharraud avatar Dec 18 '17 15:12 nharraud