Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/collective/experimental.gracefulblobmissing
Gracefully handle missing BLOBs in Plone
https://github.com/collective/experimental.gracefulblobmissing
Last synced: about 1 month ago
JSON representation
Gracefully handle missing BLOBs in Plone
- Host: GitHub
- URL: https://github.com/collective/experimental.gracefulblobmissing
- Owner: collective
- Created: 2013-01-25T18:03:51.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2023-08-03T14:00:45.000Z (over 1 year ago)
- Last Synced: 2024-05-21T13:50:53.451Z (7 months ago)
- Language: Python
- Homepage: https://pypi.org/project/experimental.gracefulblobmissing/
- Size: 58.6 KB
- Stars: 2
- Watchers: 112
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
Awesome Lists containing this project
- awesome-plone - experimental.gracefulblobmissing - Gracefully handle missing binary files in Plone. (Develop)
README
.. contents::
How to use
==========The `BLOB support in Plone`__ is amazing for a lot of reasons.
__ https://pypi.org/project/plone.app.blob
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.2For 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`__.
.. image:: http://www.ospfe.it/ospfe-logo.jpg
:alt: OspFE logo__ http://www.ospfe.it/
__ http://www.plonegov.it/Authors
=======This product was developed by RedTurtle Technology team.
.. image:: http://www.redturtle.it/redturtle_banner.png
:alt: RedTurtle Technology Site
:target: http://www.redturtle.it/