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

Widget for Description field not being rendered in the add form for several content types #689

Open
kamon opened this issue Jan 15, 2024 · 2 comments
Assignees

Comments

@kamon
Copy link

kamon commented Jan 15, 2024

Hi,
I am testing Euphorie 15.1.1 (Plone 5.2). Normal buildout from the Euphorie repository '15.1.1' tag, with nothing else.
After my setup, when trying to add content, for example 'Page', as a site administrator, I get the following behavior:
The wysiwyg widget for the Description field is not showing up. + The console is showing the warning "DeprecationWarning: plone.app.z3cform.wysiwyg.WysiwygFieldWidget is deprecated andwill be removed in Plone 5.1".

This happens for other cases (such as Risk, if I recall correct).
Also, in the code we are defining the WysiwygFieldWidget for the body field, which follows the description field in that form, and the widget for the body field is rendered and working. It is as if it is not possible to have the widget rended twice on the same page.

Anyone experienced this? Any ideas?

PS: I am thinking that wysiwyg widget could be replaced by the one provided by plone.app.z3cform.widgets.richtext, but that does not seem a trivial change due to the versions compatibilities between many dependencies involved.
Screenshot 2024-01-15 at 09 44 22

@kamon kamon changed the title WysiwygFieldWidget for Description widget not being rendered in the add form for several content types Widget for Description field not being rendered in the add form for several content types Jan 15, 2024
@ale-rt ale-rt self-assigned this Jan 18, 2024
@ale-rt
Copy link
Member

ale-rt commented Jan 18, 2024

Did you try with the latest tag (15.2.0)?
Also check if you have the latest NuPlone version 2.2.0.

About the widget, it is known that it has to be updated/replaced at a certain point, but so far it is not prio number 1.

@kamon
Copy link
Author

kamon commented Jan 18, 2024

I've just reproduced the bug using tag 15.2.0 (NuPlone 2.2.2 pinned in the versions-5.2.cfg file).

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