Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into fix-plone6-upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
ale-rt committed Oct 8, 2024
2 parents 2c39b01 + cb88b05 commit 8706cd5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ Changelog
- Add plone.shortname behaviour to EasyForm type.
[ThibautBorn]

- Include the Products.validation ZCML to load the proper translation catalog.
Refs. `issue 434 <https://github.com/collective/collective.easyform/issues/434>`_.
[ale-rt]


4.2.0 (2024-03-15)
------------------
Expand Down
9 changes: 5 additions & 4 deletions src/collective/easyform/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
>

<include package="plone.app.dexterity" />
<include package="Products.validation" />

<configure zcml:condition="installed plone.formwidget.recaptcha">"
<include package="plone.formwidget.recaptcha" />
Expand All @@ -26,7 +27,7 @@

<include package=".browser" />
<include package=".upgrades" />
<include zcml:condition="installed Products.PloneFormGen" package=".migration" />
<include zcml:condition="installed Products.PloneFormGen" package=".migration" />

<genericsetup:registerProfile
name="default"
Expand Down Expand Up @@ -57,15 +58,15 @@
name="collective.easyform-hiddenprofiles"
factory=".setuphandlers.HiddenProfiles"
/>

<adapter
zcml:condition="installed plone.restapi"
factory="collective.easyform.serializer.SerializeToJson"
/>

<adapter
zcml:condition="installed plone.restapi"
factory="collective.easyform.serializer.DeserializeFromJson"
factory="collective.easyform.serializer.DeserializeFromJson"
/>

</configure>

0 comments on commit 8706cd5

Please sign in to comment.