[KULRICE-12477] Update DocumentRefreshQueueImpl to properly delete old action requests Created: 11/Apr/14 Updated: 26/Aug/14 Resolved: 13/May/14
|Project:||Kuali Rice Development|
|Security Level:||Public (Public: Anyone can view)|
|Reporter:||Jonathan Keller||Assignee:||Kristina Taylor (Inactive)|
|Remaining Estimate:||0 minutes|
|Time Spent:||1 hour|
|Original Estimate:||2 hours|
|Sprint:||2.5.0-m3 Sprint 1|
|KAI Review Status:||Not Required|
|KTI Review Status:||Not Required|
|Code Review Status:||Not Required|
|Include in Release Notes?:||
Patch the DocumentRefreshQueueImpl class' refreshDocument method to properly delete action requests when it's supposed to.
There is a bug in the implementation. It looks at the generated top-level request and uses that to determine that it should not remove the old requests. (In the case of first-approve role routing, the top level one is always system-generated as a wrapper around the "real" requests.)
I've patched the code so that it checks the first present child request to see if it should remove the action request tree.
|Comment by Jonathan Keller [ 11/Apr/14 ]|
|Comment by Kristina Taylor (Inactive) [ 12/May/14 ]|
Please remember to apply this performance patch to the 2.4 branch and clean it up as per Rice standards.