4teamwork / ftw.inflator

Plone site setup wizard with content creation and bundle system for predefined configurations.
3 stars 6 forks source link

Fix Plone 4 support with plone.app.multilingual 2.x #37

Closed elioschmutz closed 5 years ago

elioschmutz commented 5 years ago

The PR https://github.com/4teamwork/ftw.inflator/pull/36 introduced an error with Plone 4 and plone.app.multilingual 2.x due the following commit: https://github.com/4teamwork/ftw.inflator/pull/36/commits/1257505003a37c216f630ab43ad698550cbd0632

According to the plone.app.multilingual doucumentation, the V2.x should be used for plone4 with dexterity and real shared content.

The broken commit assumes, that using Plone 4 will require V1.x with plone.app.multilingual.

This PR fixes broken imports and functions if using it with plone.app.multilingual V2.x.