You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that if an item is dark, then it shouldn't be published. So release-publish can't do what it usually does, which is publish something (with updated release tags).
We should handle this by skipping the release-publish step when an item is dark instead of showing an error.
Additional information
There's no guarantee that users who submit long lists of druids or release collections in batches will be able to identify which items are dark and which are not, so we have to handle this situation. I don't think we can skip the releaseWF altogether because there's also a step to update MARC records that doesn't depend on an item being dark. So I think skipping release-publish is the best course of action.
Leaving the item in an error state doesn't serve much purpose since a user can't do anything about the error except manually set the step to skipped or completed. There's no expectation that an item would be released when dark, so there's little reason to let someone know the item wasn't released via an error message.
The
release-publish
step of thereleaseWF
gives an error when an item has access rights set to dark:The problem is that if an item is dark, then it shouldn't be published. So
release-publish
can't do what it usually does, which is publish something (with updated release tags).We should handle this by skipping the
release-publish
step when an item is dark instead of showing an error.Additional information
There's no guarantee that users who submit long lists of druids or release collections in batches will be able to identify which items are dark and which are not, so we have to handle this situation. I don't think we can skip the
releaseWF
altogether because there's also a step to update MARC records that doesn't depend on an item being dark. So I think skippingrelease-publish
is the best course of action.Leaving the item in an error state doesn't serve much purpose since a user can't do anything about the error except manually set the step to skipped or completed. There's no expectation that an item would be released when dark, so there's little reason to let someone know the item wasn't released via an error message.
To reproduce
The text was updated successfully, but these errors were encountered: