Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dexterity IRichTextBehavior and plone.app.textfield.RichText fields (with values) freeze Contents (/folder_contents) feature #238

Open
angelawong opened this issue Mar 6, 2017 · 3 comments

Comments

@angelawong
Copy link

I think there is an issue with Dexterity rich text fields. If I were to create items using a content type with either or both of the IRichTextBehavior and plone.app.textfield.RichText fields in it and place it in a folder called Policies, the following will occur:

  1. /policies will show the items listed in the folder
  2. /policies/folder_contents will freeze the page (it will keep churning without any resolution)

What I have noticed is that if there are no values on either or both of these fields, /folder_contents will display the content type. However, if there are values on either one or both of the fields, /folder_contents will freeze -- the page will keep churning with no resolution.

The question was first posed at: https://community.plone.org/t/dexterity-irichtextbehavior-and-plone-app-textfield-richtext-fields-freeze-contents-folder-contents-feature/3585

@jensens
Copy link
Member

jensens commented Mar 6, 2017

May you create and post a minimal example how to make this happen?

@jensens
Copy link
Member

jensens commented Mar 6, 2017

And add the Plone version used, thanks.

@angelawong
Copy link
Author

Plone 5.0.6rc1
Zope 2.13.24
Python 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2]

To create a new content type:
Addons > Dexterity Content Type > Add New Content Type

In the new content type:
To create the IRichTextBehavior field:
Go to Behaviors tab > check the RichText

To create the rich text field:
Go to Fields tab > Add new field > Field type: Rich Text

Once the content type and fields are in place, I then used the content type in Plone. When there are values in the fields, /folder_contents will freeze. If there are no values in the fields, /folder_contents will list the content type items.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants