Labels: Type-Enhancement Priority-Medium
New issue 3540 by mike.d.c...@gmail.com: Add signals for when a draft is
discarded, including a reason for why it was discarded
*** For customer support, please post to reviewbo...@googlegroups.com
*** If you have a patch, please submit it to
*** Do not post confidential information in this enhancement request!
What version are you running?
2.0.3alpha 0 (dev)
What's the URL of the page this enhancement relates to, if any?
Describe the enhancement and the motivation for it.
We've written an extension for Review Board that performs certain acts when
publishing, closing and discarding review requests. Unfortunately, there
wasn't a way of detecting when a draft for a review request is discarded.
We ended up having to use Django's pre_delete model signal, which felt a
little heavy-handed, since it will run for every model deletion. We also
had to do a bit of checking to see if the draft is deleted when they're
manually discarded, or when they're deleted when a review request is
published. It'd be nice if the signal made this distinction for us.
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.