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

On demo.plone.org form block is broken. #42

Open
jensens opened this issue Apr 23, 2024 · 2 comments
Open

On demo.plone.org form block is broken. #42

jensens opened this issue Apr 23, 2024 · 2 comments

Comments

@jensens
Copy link
Member

jensens commented Apr 23, 2024

It emits an error. See https://demo.plone.org/block/form/edit

screenshot_2024-04-23_15:15:59_selection

@davisagli
Copy link
Member

The error traces shown by a production build of volto are pretty much useless, since they are positions in the minified bundles.

There's a more useful trace in the browser console, which uses the sourcemap to show source filenames:
Screenshot 2024-04-29 at 1 04 04 PM

In this case, it might be a problem with the error that is passed into the FormFieldWrapper:
Screenshot 2024-04-29 at 1 04 55 PM

@fredvd
Copy link
Member

fredvd commented May 18, 2024

Updates/improvements have been made to volto-form-block and the supported backend recently, that caused some issues with enabling volto-form-block in another project, like requiring a spam protection. We briefly discussed this at the beethoven sprint this week. collective.honeypot is a good simple protection.

I could look into it, I see the backend add'on collective.volto.formsupport is in the backend setup.py, but not pinned in constraints.txt.

I would like to check if it is 'wise' to add form support to a demo site where we give people admin accounts so they can start using any hacked/open smtp server/account they find. Ok, we should reset the instances every day, but still. I'd like to check possible security implications.

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

3 participants