Skip to content

Error saving control panel via Volto #96

Open
@wesleybl

Description

@wesleybl

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')}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions