Skip to main content

How to use

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.

Requirements

This product has been tested on:

  • Plone 5.1

  • Plone 5.2

For Plone 4 / Archetypes compatibility stay below version 2.0. For Plone 3 compatiblity stay on version 0.3.0 or lower.

Warning

This is designed only for development/staging environment. Do not use in production if you are not 100% sure of what you are doing!

Credits

Developed with the support of S. Anna Hospital, Ferrara; S. Anna Hospital supports the PloneGov initiative.

OspFE logo

Authors

This product was developed by RedTurtle Technology team.

RedTurtle Technology Site

Changelog

2.0 (2023-08-03)

  • Remove Archetypes compatibility code. [thet]

1.0 (2022-03-11)

  • Add support for relstorage. [pbauer]

  • Create dummy image blobs on the fly. [ale-rt, mauritsvanrees]

0.5.0 (2018-12-14)

  • Only patch plone.app.blob and Products.ATContentTypes if they are installed. This makes this package compatible with a Archetypes-free Plone. [gforcada]

0.4.0 (2015-04-29)

  • 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]

0.3.0 (2011-09-30)

  • fixed dependency on collective.monkeypatcher >= 1.0 [keul]

  • pached also getScale method, used by some atct views [keul]

0.2.0 (2011-06-06)

  • fixed dependencies [keul]

  • direct access to files with missing blobs now redirect to the view with a warning [keul]

0.1.0 (2010-11-19)

  • initial release

Release files for experimental.gracefulblobmissing 2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for experimental.gracefulblobmissing 2.0
File Size Uploaded
experimental.gracefulblobmissing-2.0.tar.gz 16.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for experimental.gracefulblobmissing 2.0
File Interpreter ABI Platform
experimental.gracefulblobmissing-2.0-py3-none-any.whl Python 3 none any Details

Total release size: 25.1 kB

Release files / experimental.gracefulblobmissing-2.0.tar.gz

Download URL experimental.gracefulblobmissing-2.0.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
736af972ebc86f7075d6e6019c9e022bf44d94e19a047a75f676e6ff3a66c33b
BLAKE2b-256 checksum
How to use checksums
5512a1447529efb54f74bb84bf430551fa2a41ca92588215938c975248fa31be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / experimental.gracefulblobmissing-2.0-py3-none-any.whl

Download URL experimental.gracefulblobmissing-2.0-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fdc5dae0211c3747382bbb8f99a4597ef0ee8f8f75910d0816d2582134c59ace
BLAKE2b-256 checksum
How to use checksums
aed7e84d1f6af29486a27ce8b7cdc36e8c9fa1ddbdbd008a9c9c378565f1dd22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

2.0 This release

2 release files

1.0

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page