Closed amyehodge closed 3 months ago
The versioning options are no longer showing up for works that haven't been accessioned, so that seems to be working perfectly now.
However, it now seems that already accessioned works that are returned are also not showing the versioning options. The user sees it until they submit the work for review, but if it is returned, they no longer see it.
This is a problem if the user has done something like add a file the first time they edit and had to choose the "yes" option, but then when revising they remove the file and decide they don't want the new version and would like to choose "no." They no longer can make any changes to their selection or their comment, which now may be inaccurate.
Using https://sul-h2-qa.stanford.edu/works/122 as the example. This item has already been accessioned (multiple times).
You can keep sending this back to the user for changes but they never see the versioning options again.
When a collection has the review workflow on, if a user submits an item for approval and the reviewer rejects the item and returns it to the depositor, when the depositor goes in to make changes to the draft item, they are seeing the versioning options box with the yes/no checkboxes and the what's changing entry field. Since this item has never been deposited and accessioned, they should not be seeing this.
To reproduce: