experimental.backportGS

Monkey-patch Plone 3 to make Plone 4 Generic Setup import steps to continue working


Keywords
plone, generic-setup, backport
License
GPL-2.0+
Install
pip install experimental.backportGS==0.2.1

Documentation

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.

Authors

This product was developed by RedTurtle Technology team.

RedTurtle Technology Site