Patch for Plone. Not raise error when visiting file contents with missing BLOB file
Project description
Introduction
The BLOB support in Plone is amazing for a lot of reasons.
However, right now, Plone will raise errors when you visit a file content that use BLOB support, without having also the BLOB file.
I don’t know if this is good or not (I opened an issue related to this), but for developers this can be a little boring. It’s quite common to copy a production Data.fs for developing something using production data, but you don’t always want to copy all blobs.
This product will simply monkey-pach some points inside Plone, so visiting a ATFile/ATImage without its BLOB available will not show any errors to visitors.
Requirements
This product has been tested on:
Plone 3.3 (with plone.app.blob 1.5)
Plone 4.0
Plone 4.1
Warning
This is designed only for development/staging environment. Do not use in production if you are not sure of what you are doing!
Credits
Developed with the support of S. Anna Hospital, Ferrara; S. Anna Hospital supports the PloneGov initiative.
Changelog
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file experimental.gracefulblobmissing-0.3.0.tar.gz
.
File metadata
- Download URL: experimental.gracefulblobmissing-0.3.0.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17e87d965f2c96f6fcb85091f038420dedc10e87ff674eb80cdc31a6d4e99df4 |
|
MD5 | 269b49e8fc97dfc857ad4dfacfc211fa |
|
BLAKE2b-256 | 3187b47fa87f861afd2fbf9437ac663b65fe3c9f4f072728159c5eac60442f0f |