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

Error saving control panel via Volto #96

Open
wesleybl opened this issue Oct 11, 2022 · 1 comment
Open

Error saving control panel via Volto #96

wesleybl opened this issue Oct 11, 2022 · 1 comment

Comments

@wesleybl
Copy link
Member

I don't know if this is an error from Volto or collective.elasticsearch, but when I clear the Sniffer timeout field and save, I get the error:

2022-10-11 18:58:09 ERROR [Zope.SiteErrorLog:35][waitress-2] BadRequest: http://localhost:3000/@controlpanels/elasticsearch
Traceback (innermost last):
  Module ZPublisher.WSGIPublisher, line 167, in transaction_pubevents
  Module ZPublisher.WSGIPublisher, line 376, in publish_module
  Module ZPublisher.WSGIPublisher, line 271, in publish
  Module ZPublisher.mapply, line 85, in mapply
  Module ZPublisher.WSGIPublisher, line 68, in call_object
  Module plone.rest.service, line 22, in __call__
  Module plone.restapi.services, line 19, in render
  Module plone.restapi.services.controlpanels.update, line 41, in reply
  Module plone.restapi.deserializer.controlpanels, line 80, in __call__
zExceptions.BadRequest: [{'message': 'Object is of wrong type.', 'field': 'timeout', 'error': WrongType(2, <class 'float'>, 'timeout')}]
@ericof
Copy link
Member

ericof commented Oct 17, 2022

Good catch, I will double check

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