Skip to main content

Patch Plone to not brake when visiting file like contents where related BLOB is missing

Project description

Introduction

The BLOB support in Plone is amazing for a lot of reasons.

A minor reason I like is that: the Data.fs now is very little, and you can take it from customers server quickly, or deploying it for staging purpose without taking also all attachments that commonly only matters on production.

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.

This product will simply monkey-pach a pair of points in Plone, so visiting a ATFile 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.3)

  • Plone 4.0

Warning

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

Authors

This product was developed by RedTurtle Technology team.

RedTurtle Technology Site

Changelog

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

experimental.gracefulblobmissing-0.1.0.tar.gz (11.0 kB view details)

Uploaded Source

File details

Details for the file experimental.gracefulblobmissing-0.1.0.tar.gz.

File metadata

File hashes

Hashes for experimental.gracefulblobmissing-0.1.0.tar.gz
Algorithm Hash digest
SHA256 46a3bbba1ea97ceea7564e71bf6e01b940868ec87c37a33b7aa0bfc1bd940089
MD5 160dcc7b269272257c294cb905e0c44a
BLAKE2b-256 521f6d59b1ac05ed1f9c2388d9986a7a3e1c0e43674d3de0e38621136cf0e8ac

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page