Describe the bug
In 2021, we implemented a feature for shelving files from preservation (see #2766). This makes it possible to shelve files that have already been preserved without having to reaccession them through Preassembly or another app.
This feature is not working with the publish/shelve API. I'm seeing "No such file or directory" errors when trying this:
Errno::ENOENT: No such file or directory @ rb_sysopen - /dor/workspace/rm/454/ct/9775/rm454ct9775/content/file1.txthttps://argo-stage.stanford.edu/view/druid:rm454ct9775
User Impact
This is a regression. Being able to shelve from preservation makes some remediation tasks much easier than before. It can be the difference between doing them or not doing them at all.
To Reproduce
Steps to reproduce the behavior:
Go to an item that has preserved files that are not shelved.
Open a new version.
Make sure the item's rights allow public access (they are not dark).
Use the structural metadata CSV to change the publish and shelve settings from "no" to "yes" for at least one file.
Close the object.
See shelve error in the DSA retries
Expected behavior
If a file is in preservation and currently unshelved, changing it to shelve=yes should shelve it.
Describe the bug In 2021, we implemented a feature for shelving files from preservation (see #2766). This makes it possible to shelve files that have already been preserved without having to reaccession them through Preassembly or another app.
This feature is not working with the publish/shelve API. I'm seeing "No such file or directory" errors when trying this:
Errno::ENOENT: No such file or directory @ rb_sysopen - /dor/workspace/rm/454/ct/9775/rm454ct9775/content/file1.txt
https://argo-stage.stanford.edu/view/druid:rm454ct9775User Impact This is a regression. Being able to shelve from preservation makes some remediation tasks much easier than before. It can be the difference between doing them or not doing them at all.
To Reproduce Steps to reproduce the behavior:
Expected behavior If a file is in preservation and currently unshelved, changing it to shelve=yes should shelve it.