Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020754
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2012-06-13 19:042012-06-27 05:28
ReportermiruritaView Statuspublic 
Assigned Toeduardo_Argal 
PrioritynormalResolutionfixedFixed in Version3.0MP13
StatusclosedFix in branchFixed in SCM revision4b3ac264a0ce
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesAdvanced Payables and Receivables Mngmt
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020754: Reactivate payment: java.lang.IndexOutOfBoundsException using write off

DescriptionAfter reactivating a payment using credit, if you click on add details and select write off option the process fails.
Steps To Reproduce1) Create a Sales Invoice (SO1) for Alimentos. Total= 15€
2) Create a Sales Invoice (SO2) for Alimentos. Total= 5.9€
3) Generate credit of 9€ to Alimentos
4) Create a new payment for both invoices. Total= 20.9€
5) Reactivate the payment
6) Click on Add Details and configure the payment (see attached screenshot)
 - Actual Payment In: 1
 - User Available Credit: 9
 - Write off the difference
7) Process the payment
8) Error
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.rangeCheck(ArrayList.java:571)
    at java.util.ArrayList.get(ArrayList.java:349)
    at org.openbravo.advpaymentmngt.process.FIN_AddPayment.savePayment(FIN_AddPayment.java:228)
TagsNo tags attached.
Attached Filespng file icon Reactivate_Payment2.png [^] (61,133 bytes) 2012-06-13 19:04

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0049845)
hgbot (developer)
2012-06-14 18:53

Repository: erp/devel/pi
Changeset: 004ee0b3325192243540b4ea7325d4320ef0eeae
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Thu Jun 14 17:33:57 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/004ee0b3325192243540b4ea7325d4320ef0eeae [^]

Fixes bug 20754

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddOrderOrInvoice.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_AddPayment.java
---
(0049896)
mirurita (developer)
2012-06-18 16:34

After you process the refund payment, the invoices included in the first payment does not appear available to be paid.
(0049911)
hgbot (developer)
2012-06-19 11:23

Repository: erp/devel/pi
Changeset: 4b3ac264a0ce683ac820807184de40dd0e74e93d
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Tue Jun 19 11:23:09 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4b3ac264a0ce683ac820807184de40dd0e74e93d [^]

Fixes bug 20754

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/AddOrderOrInvoice.java
---
(0049979)
mirurita (developer)
2012-06-21 12:06

testing OK
(0050121)
hudsonbot (developer)
2012-06-27 05:28

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/cf3a7135839f [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-06-13 19:04 mirurita New Issue
2012-06-13 19:04 mirurita Assigned To => eduardo_Argal
2012-06-13 19:04 mirurita File Added: Reactivate_Payment2.png
2012-06-13 19:04 mirurita Modules => Advanced Payables and Receivables Mngmt
2012-06-14 18:53 hgbot Checkin
2012-06-14 18:53 hgbot Note Added: 0049845
2012-06-14 18:53 hgbot Status new => resolved
2012-06-14 18:53 hgbot Resolution open => fixed
2012-06-14 18:53 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/004ee0b3325192243540b4ea7325d4320ef0eeae [^]
2012-06-18 16:34 mirurita Note Added: 0049896
2012-06-18 16:34 mirurita Status resolved => new
2012-06-18 16:34 mirurita Resolution fixed => open
2012-06-19 11:23 hgbot Checkin
2012-06-19 11:23 hgbot Note Added: 0049911
2012-06-19 11:23 hgbot Status new => resolved
2012-06-19 11:23 hgbot Resolution open => fixed
2012-06-19 11:23 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/004ee0b3325192243540b4ea7325d4320ef0eeae [^] => http://code.openbravo.com/erp/devel/pi/rev/4b3ac264a0ce683ac820807184de40dd0e74e93d [^]
2012-06-21 12:06 mirurita Note Added: 0049979
2012-06-21 12:06 mirurita Status resolved => closed
2012-06-21 12:06 mirurita Fixed in Version => 3.0MP13
2012-06-27 05:28 hudsonbot Checkin
2012-06-27 05:28 hudsonbot Note Added: 0050121


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker