|
[
Permlink
| « Hide
]
Anton Mazkovoi [Atlassian] added a comment - 09/Jun/05 07:12 PM
Sorry, do you mean that there is no Integrity Check to find all orphan subscriptions?
In the case where we found this (jira.codehaus.org), the filtersubcription table had a filterid value that did not exist in searchrequest. This produced the following exception -
2005-06-09 16:32:09.864329500 java.lang.RuntimeException: Null list of issues for subscription [GenericEntity:FilterSubscription][group,null][lastRun,2005-06-07 15:38:47.081][username,daggerrz][emailOnEmpty,false][id,10220][filterID,10850], user daggerrz Yep, thanks. We'll see if we can get this into 3.3.
We have fixed a bug in JIAR 3.2 that causes these orphan records to occur. However I am sure there are JIRA instances out there with these problems, so it will be worth while. Thanks, I added two integrity checkers around the filter subscriptions. One that will delete the filter subscription if the corresponding saved filter no longer exists and the other deleting the filter subscription if the corresponding quartz trigger does not exist. This should take care of all the orphan filter subscriptions.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||