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

"site error" when operating at manage_catalogIndexes with no index selected #86

Open
jugmac00 opened this issue Nov 7, 2019 · 0 comments

Comments

@jugmac00
Copy link
Member

jugmac00 commented Nov 7, 2019

  • fresh zope installation
  • create catalog
  • create index
  • hit "Remove index", "Reindex" or "Clear index" without selecting any index

=> site error

traceback

2019-11-07 19:22:42 ERROR [Zope.SiteErrorLog:251][waitress] 1573150962.83299850.1552368168387197 http://localhost:8080/some_catalog/manage_delIndex
Traceback (innermost last):
  Module ZPublisher.WSGIPublisher, line 151, in transaction_pubevents
  Module ZPublisher.WSGIPublisher, line 333, in publish_module
  Module ZPublisher.WSGIPublisher, line 251, in publish
  Module ZPublisher.mapply, line 85, in mapply
  Module ZPublisher.WSGIPublisher, line 57, in call_object
  Module Products.ZCatalog.ZCatalog, line 380, in manage_delIndex
zExceptions.BadRequest: No items specified
2019-11-07 19:22:46 ERROR [Zope.SiteErrorLog:251][waitress] 1573150966.34321830.784474428972252 http://localhost:8080/some_catalog/manage_reindexIndex
Traceback (innermost last):
  Module ZPublisher.WSGIPublisher, line 151, in transaction_pubevents
  Module ZPublisher.WSGIPublisher, line 333, in publish_module
  Module ZPublisher.WSGIPublisher, line 251, in publish
  Module ZPublisher.mapply, line 85, in mapply
  Module ZPublisher.WSGIPublisher, line 57, in call_object
  Module Products.ZCatalog.ZCatalog, line 447, in manage_reindexIndex
zExceptions.BadRequest: No items specified
2019-11-07 19:22:49 ERROR [Zope.SiteErrorLog:251][waitress] 1573150969.04492260.37519484376976475 http://localhost:8080/some_catalog/manage_clearIndex
Traceback (innermost last):
  Module ZPublisher.WSGIPublisher, line 151, in transaction_pubevents
  Module ZPublisher.WSGIPublisher, line 333, in publish_module
  Module ZPublisher.WSGIPublisher, line 251, in publish
  Module ZPublisher.mapply, line 85, in mapply
  Module ZPublisher.WSGIPublisher, line 57, in call_object
  Module Products.ZCatalog.ZCatalog, line 398, in manage_clearIndex
zExceptions.BadRequest: No items specified

A friendly error message would be nice.

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

1 participant