google-code-export / npsp

Automatically exported from code.google.com/p/npsp
1 stars 0 forks source link

Adding to the number in the "Installments" field creates a whole new set of installment records #337

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start in an existing Recurring Donation record with a number, X, in the 
"Installments" field, and X installment records associated with the Recurring 
Donation.
2. Update the Installments field to X +1
3. Click "Refresh Opportunities"

What is the expected output? What do you see instead?
I'd expect that one new installment would be created, so that the total number 
of installments associated with the Recurring Donation would equal the new 
number in the Installments field. Instead, X+1 new installments are created, so 
that the total number of installments associated with the Recurring Donation is 
X+X+1.

What version of the packages are you using?
Recurring Donations 2.0.2

Please provide any additional information below.

Original issue reported on code.google.com by rac...@patrontechnology.com on 10 Apr 2012 at 9:06

GoogleCodeExporter commented 9 years ago
Is this an open-ended Recurring Donation or not?

Original comment by kbro...@gmail.com on 10 Apr 2012 at 9:46

GoogleCodeExporter commented 9 years ago
It's not open-ended, but we're importing historical data and will likely need 
to add installments for a number of these recurring donations that aren't yet 
paid off. Should I treat them as open-ended until all the installments have 
been added?

Original comment by rac...@patrontechnology.com on 10 Apr 2012 at 9:50

GoogleCodeExporter commented 9 years ago
Interesting - so in the original design, the 'Refresh Opportunities' button was 
never meant to work for non-Open-Ended Donations, but I must've missed a check 
somewhere.   The logic that's in that button shouldn't work for non-open-ended 
and will produce odd results (like your x+x+1 scenario) since its evaluating 
the recurring donation based on the settings configured for open-ended ones.  

Original comment by kbro...@gmail.com on 10 Apr 2012 at 10:08

GoogleCodeExporter commented 9 years ago

Original comment by kbro...@gmail.com on 10 Apr 2012 at 10:09

GoogleCodeExporter commented 9 years ago

Original comment by kbro...@gmail.com on 26 Apr 2012 at 3:57