Skip to content

Commit

Permalink
Upgrade step: add plone.shortname behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
gotcha committed Mar 19, 2024
1 parent 64bc940 commit 45059ea
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Changelog
4.2.1 (unreleased)
------------------

- Nothing changed yet.
- Add plone.shortname behaviour to EasyForm type.
[ThibautBorn]


4.2.0 (2024-03-15)
Expand Down
2 changes: 1 addition & 1 deletion src/collective/easyform/upgrades/1017.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
>

<gs:upgradeDepends
title="Add max filesize in registry"
title="Add max filesize in registry and plone.shortname behavior to form."
import_profile="collective.easyform.upgrades:1017"
/>

Expand Down
10 changes: 10 additions & 0 deletions src/collective/easyform/upgrades/profiles/1017/types/EasyForm.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<object xmlns:i18n="http://xml.zope.org/namespaces/i18n"
meta_type="Dexterity FTI"
name="EasyForm"
i18n:domain="collective.easyform"
>
<property name="behaviors" purge="False">
<element value="plone.shortname" />
</property>
</object>

0 comments on commit 45059ea

Please sign in to comment.