Patch for Plone. Don't raise errors for file contents with missing BLOB file
The BLOB support in Plone is amazing for a lot of reasons.
However Plone will raise errors when you visit a file content that use BLOB support without also having the BLOB file.
For developers this can be a little bit boring. It’s quite common to copy a production Data.fs for developing using production data, but you don’t always want to copy all blobs.
This product monkey-patches parts of Plone, so that visiting objects that store content in the blob storage without having the BLOB available will not lead to errors. Instead a file only containing the string “File created by experimental.gracefulblobmissing.” is created in the place where the blob-file should be.
This product also patches the SearchableText Archetypes method, so you can reindex you catalog without errors.
This product has been tested on:
For Plone 3 compatiblity stay on version 0.3.0 or lower.
This is designed only for development/staging environment. Do not use in production if you are not 100% sure of what you are doing!
Add support for relstorage. [pbauer]
Create dummy image blobs on the fly. [ale-rt, mauritsvanrees]
Only patch plone.app.blob and Products.ATContentTypes if they are installed. This makes this package compatible with a Archetypes-free Plone. [gforcada]
modify patch to not touch every file but only create file with a string in it when it is missing [pbauer]
patch ZEO to create missing blob-files [pbauer]
add logging-message when creating a missing blog-file [pbauer]
fixed errors when reindexing SearchbleText index [keul]
Added a patch for ZODB egg that Create the blob folder path and create (touch) an empty file for each blob file if it’s missing. [sneridagh]
fixed dependency on collective.monkeypatcher >= 1.0 [keul]
pached also getScale method, used by some atct views [keul]
fixed dependencies [keul]
direct access to files with missing blobs now redirect to the view with a warning [keul]
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for experimental.gracefulblobmissing-1.0.tar.gz