plone / plone.app.discussion

General commenting system for Plone content
https://pypi.org/project/plone.app.discussion
16 stars 47 forks source link

Publishing an already published comment via link of notification mail fails without helping message #162

Closed ksuess closed 4 years ago

ksuess commented 5 years ago

A message like "this comment is published" would be helpful to moderator. The error message is missleading.

Traceback (innermost last):
  Module ZPublisher.WSGIPublisher, line 155, in transaction_pubevents
  Module ZPublisher.WSGIPublisher, line 337, in publish_module
  Module ZPublisher.WSGIPublisher, line 255, in publish
  Module ZPublisher.mapply, line 85, in mapply
  Module ZPublisher.WSGIPublisher, line 61, in call_object
  Module plone.app.discussion.browser.moderation, line 215, in __call__
  Module Products.CMFCore.WorkflowTool, line 245, in doActionFor
WorkflowException: No workflow provides the '${action_id}' action.
ksuess commented 4 years ago

Fixed by https://github.com/plone/plone.app.discussion/pull/163