You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seen in plone.app.portlets-4.4.5 (part of Plone-5.2.2), when exporting portlets from the GenericSetup tool, static text portlets have a literal error message exported for their text property:
<assignmentname="xxx"category="context"key="/"manager="plone.leftcolumn"
type="plone.portlet.static.Static"visible="True">
<propertyname="footer"/>
<propertyname="header">xxx</property>
<propertyname="more_url"/>
<propertyname="omit_border">False</property>
<propertyname="text">RichTextValue object. (Did you mean <attribute>.raw or <attribute>.output?)</property>
</assignment>
📑 Reproduction
Start Plone 5.2.2
Create a new Plone site
Manage portlets → Left column; "go here" to manage portlets of container itself
Add portlet… → Static text portlet
Enter portlet title "xxx", body text "yyy"; Save
ZMI → portal_setup → Export tab
Check ✓ box by "Portlets", then "Export selected steps"
🩺 Expected Results
<assignmentname="xxx"category="context"key="/"manager="plone.leftcolumn"
type="plone.portlet.static.Static"visible="True">
<propertyname="footer"/>
<propertyname="header">xxx</property>
<propertyname="more_url"/>
<propertyname="omit_border">False</property>
<propertyname="text">yyy</property> <!-- or maybe a CDATA section -->
</assignment>
🗺 Context
Just trying to automate some site setup; starting with an export of a live site and making it part of an add-on package is an easy way to go.
Imports work fine! 🎉
The text was updated successfully, but these errors were encountered:
Seen in plone.app.portlets-4.4.5 (part of Plone-5.2.2), when exporting portlets from the GenericSetup tool, static text portlets have a literal error message exported for their
text
property:📑 Reproduction
🩺 Expected Results
🗺 Context
The text was updated successfully, but these errors were encountered: