Closed (cannot reproduce)
Project:
Community Accounting
Version:
7.x-3.x-dev
Component:
Transactions
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2012 at 13:43 UTC
Updated:
6 Apr 2012 at 08:59 UTC
Jump to comment: Most recent file
Comments
Comment #1
matslats commentedI've tested and I can't replicate this problem.
I may have fixed it previously.
can you get the latest dev code, and then tell me
what is the state of the transaction? completed or pending?
Are you sure the transaction completes? It will be in the database but with a state '-2', which doesn't count.
Comment #2
jcir commentedHi, I just tried it again with the latest dev version, maybe I was not clear enough in the message, sorry if it's the case. I upload 3 pictures to show it better
Ok, I explain the case:
Max --> 12, Min --> -6
jacobo has -4.00CC
bdts has 0.00CC
jacobo pays 2 to bdts, and then the message appears:
X Transaction would take jacobo CC2:00 below the minimum balance of -CC6:00 .
The transaction is done (in the limits you can see it, in the database also, jacobo has -6.00, and bdts has 2 more. But looking at the picture you may not notice because of the message and that you can press Submit again.
The three pictures show the process:
1. Pay to 'bdts' 2.00 CC
2. Submit the payment
3. Payment done, but the message says that if you do it (it's actually doing it again) you'll get under the limit
I just looked if the same happened the other way round:
Michael has 2.00CC, and Charles 10.00CC,
Michael pays 2 to Charles, and the message shows the same message as above, but referring to the upper limit: X Transaction would take Charles CC2:00 above the maximum balance of CC12.00
thanks again for the good work!
When I've more time I would like to help with this project
Comment #3
matslats commentedI'm unable to replicate this.
Consider that the transaction enters the database the moment you attempt it, but it's status is -2, which does not count - literally.
My guess is that your form redirect isn't working and you are landing on the confirmation after the transaction is confirmed, and it is attempting to process the transaction again, and then failing.
Please make sure you are using beta2 before testing more.
Comment #4
matslats commented