.. 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.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`__.
.. 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/
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
Raw data
{
"_id": null,
"home_page": "http://plone.org/products/experimental.gracefulblobmissing",
"name": "experimental.gracefulblobmissing",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "plone blob patch",
"author": "RedTurtle Technology",
"author_email": "sviluppoplone@redturtle.it",
"download_url": "https://files.pythonhosted.org/packages/55/12/a1447529efb54f74bb84bf430551fa2a41ca92588215938c975248fa31be/experimental.gracefulblobmissing-2.0.tar.gz",
"platform": null,
"description": ".. contents::\n\nHow to use\n==========\n\nThe `BLOB support in Plone`__ is amazing for a lot of reasons.\n\n__ https://pypi.org/project/plone.app.blob\n\nHowever Plone will raise errors when you visit a file content that use BLOB support without also having the BLOB file.\n\nFor developers this can be a little bit boring.\nIt's quite common to copy a production ``Data.fs`` for developing using production data, but you don't always want to copy all blobs.\n\nThis 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.\nInstead a file only containing the string \"File created by experimental.gracefulblobmissing.\" is created in the place where the blob-file should be.\n\n\nRequirements\n============\n\nThis product has been tested on:\n\n* Plone 5.1\n* Plone 5.2\n\nFor Plone 4 / Archetypes compatibility stay below version 2.0.\nFor Plone 3 compatiblity stay on version 0.3.0 or lower.\n\n\nWarning\n=======\n\nThis is designed only for **development/staging** environment. *Do not use in production* if you are not 100% sure of what you are doing!\n\n\nCredits\n=======\n\nDeveloped with the support of `S. Anna Hospital, Ferrara`__; S. Anna Hospital supports the `PloneGov initiative`__.\n\n.. image:: http://www.ospfe.it/ospfe-logo.jpg\n :alt: OspFE logo\n\n__ http://www.ospfe.it/\n__ http://www.plonegov.it/\n\n\nAuthors\n=======\n\nThis product was developed by RedTurtle Technology team.\n\n.. image:: http://www.redturtle.it/redturtle_banner.png\n :alt: RedTurtle Technology Site\n :target: http://www.redturtle.it/\n\n\nChangelog\n=========\n\n2.0 (2023-08-03)\n----------------\n\n- Remove Archetypes compatibility code.\n [thet]\n\n\n1.0 (2022-03-11)\n----------------\n\n- Add support for relstorage.\n [pbauer]\n\n- Create dummy image blobs on the fly.\n [ale-rt, mauritsvanrees]\n\n\n0.5.0 (2018-12-14)\n------------------\n\n- Only patch plone.app.blob and Products.ATContentTypes if they are installed.\n This makes this package compatible with a Archetypes-free Plone.\n [gforcada]\n\n0.4.0 (2015-04-29)\n------------------\n\n* modify patch to not touch every file but only create file with a string in it when it is missing [pbauer]\n* patch ZEO to create missing blob-files [pbauer]\n* add logging-message when creating a missing blog-file [pbauer]\n* fixed errors when reindexing SearchbleText index [keul]\n* Added a patch for ZODB egg that Create the blob folder path and create (touch)\n an empty file for each blob file if it's missing. [sneridagh]\n\n0.3.0 (2011-09-30)\n------------------\n\n* fixed dependency on ``collective.monkeypatcher`` >= 1.0 [keul]\n* pached also getScale method, used by some atct views [keul]\n\n0.2.0 (2011-06-06)\n------------------\n\n* fixed dependencies [keul]\n* direct access to files with missing blobs\n now redirect to the view with a warning [keul]\n\n0.1.0 (2010-11-19)\n------------------\n\n* initial release\n",
"bugtrack_url": null,
"license": "GPL",
"summary": "Patch for Plone. Don't raise errors for file contents with missing BLOB file",
"version": "2.0",
"project_urls": {
"Homepage": "http://plone.org/products/experimental.gracefulblobmissing"
},
"split_keywords": [
"plone",
"blob",
"patch"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "aed7e84d1f6af29486a27ce8b7cdc36e8c9fa1ddbdbd008a9c9c378565f1dd22",
"md5": "cbbf1628733d8da2012d397296fa6419",
"sha256": "fdc5dae0211c3747382bbb8f99a4597ef0ee8f8f75910d0816d2582134c59ace"
},
"downloads": -1,
"filename": "experimental.gracefulblobmissing-2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "cbbf1628733d8da2012d397296fa6419",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 8595,
"upload_time": "2023-08-03T14:00:25",
"upload_time_iso_8601": "2023-08-03T14:00:25.077323Z",
"url": "https://files.pythonhosted.org/packages/ae/d7/e84d1f6af29486a27ce8b7cdc36e8c9fa1ddbdbd008a9c9c378565f1dd22/experimental.gracefulblobmissing-2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5512a1447529efb54f74bb84bf430551fa2a41ca92588215938c975248fa31be",
"md5": "8fbdaeb1f181fdf9d305b4ac9d92b667",
"sha256": "736af972ebc86f7075d6e6019c9e022bf44d94e19a047a75f676e6ff3a66c33b"
},
"downloads": -1,
"filename": "experimental.gracefulblobmissing-2.0.tar.gz",
"has_sig": false,
"md5_digest": "8fbdaeb1f181fdf9d305b4ac9d92b667",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 16486,
"upload_time": "2023-08-03T14:00:26",
"upload_time_iso_8601": "2023-08-03T14:00:26.910265Z",
"url": "https://files.pythonhosted.org/packages/55/12/a1447529efb54f74bb84bf430551fa2a41ca92588215938c975248fa31be/experimental.gracefulblobmissing-2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-03 14:00:26",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "experimental.gracefulblobmissing"
}