documentation: Flysystem doesn't realize it hasn't saved the file

If you perform a migration where some of your files are saved to the Fedora filesystem, then roll it back and perform it again.

When you go to the Files tab on the Content screen.

In Drupal the files are listed, but if you click to see the file (again that is saved to Fedora) you get an error like.

The requested URL "http://localhost:8000/_flysystem/fedora/masters/islandora_7_TN.jpg" was not found on this server.

Because when it attempted to save the file to fedora in the same location as last time the tombstone blocked it.

We need to decide whether to delete the tombstones or make new URIs each time.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 16 (16 by maintainers)

Most upvoted comments

Looking through available migration tickets there isn’t much unassigned. So if its okay with @ppound and @seth-shaw-unlv, I’ll take this one.

So we’ll need to add HEAD requests and look for that link header in the islandora module and in Milliner. Issuing a DELETE to the hasTombstone URL will take care of it. We should default to doing nothing if that link header doesn’t exist.