sul-dlss / dor-services-app

A Rails application exposing Digital Object Registry functions as a RESTful HTTP API
https://sul-dlss.github.io/dor-services-app/
Other
3 stars 2 forks source link

Change how Version Service determines if object is open #4933

Closed justinlittman closed 4 months ago

justinlittman commented 4 months ago

Instead of calling WorkflowStateService.open?, VersionService should check if the RepositoryObject is open.

For the purposes of this ticket, assume that migration to RepositoryObject is complete. (That is, there will be a RepositoryObject for each object.)

Please mark this PR as HOLD.