Status: Accepted
Owner: ----
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
http://code.google.com/p/reviewboard/issues/detail?id=3540

*** For customer support, please post to reviewbo...@googlegroups.com
*** If you have a patch, please submit it to
http://reviews.reviewboard.org/
***
*** 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?

n/a


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:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.

Reply via email to