Monkey-patch Plone 3 to make Plone 4 Generic Setup import steps to continue working
Project description
Introduction
This product is only useful if you are in the very sad situation of needing a Plone product on a Plone 3.3 installation, but the product is now compatible only with Plone 4+.
Keeping code compatibility with older version is commonly simple (see “Upgrading Plone 3.x to 4.0” and “Upgrading Plone 4.0 to 4.1”).
However there’s a major problem: Generic Setup import step changes. Sadly those changes are difficult to be backported (because no-one wants to maintain a Plone-3-only compatible profile).
How it works
This product will not backport Generic Setup new features to Plone 4.3, but monkey-patch Generic Setup to tolerate new XML parameters.
cssregistry
Old CSSRegistry registration didn’t know nothing about authenticated, applyPrefix and bundle paramenters.
Those parameters are now ignored.
If authenticated is provided and expression is not provided, the new authenticated feature is translated in the old way (using expression).
jsregistry
Old CSSRegistry registration didn’t know nothing about authenticated, and bundle paramenters.
Those parameters are now ignored.
If authenticated is provided and expression is not provided, the new authenticated feature is translated in the old way (using expression).
types
Old PropertyManagerHelpers supports only content_icon registration instead of the new icon_expr.
If icon_expr is provided, it will be used as content_icon. Also: an attempt to fix the data format is done.
Changelog
0.2.1 (2012-12-13)
Added a MANIFES file [keul]
0.2 (2012-12-12)
added log messages when patches are used [keul]
added support for substitution of new style icon_expr with old-style content_icon [keul]
0.1 (2012-12-12)
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for experimental.backportGS-0.2.1.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00e909605f571e9037b0b3a8273f73ece0bff9593c6b92208a26fc947ea57a78 |
|
MD5 | 12a3161a3b6a84eafea957e2f43f2593 |
|
BLAKE2b-256 | 12b7092447c762b5bc7e6eff04e9554d8b7975e8f793628302369633d9bda8ac |