Ticket #215 (new defect)
"before-comment-created" is never emitted
| Reported by: | arteme | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | admin | Version: | dev |
| Keywords: | Cc: | arteme@… |
Description
Quoting zine.views.show_entry() docstring,
Events emitted:
`before-comment-created`:
this event is sent with the form as event data. Can return
a list of error messages to prevent the user from posting
that comment.
But the mentioned signal is never emitted. As mentioned in the description, there should be some provision for the signal handler to signal that the form should return a list of errors to prevent the comment from being posted.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.