Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027553Openbravo ERPZ. Otherspublic2014-09-08 14:202014-12-30 23:22
ngarcia 
reinaldoguerra 
highminoralways
closedfixed 
5
 
3.0PR15Q1 
vmromanos
Core
No
0027553: Wrong error message shown when reactivating a payment whose payment method does not belong to the financial account
Wrong error message shown when reactivating a payment whose payment method does not belong to the financial account
As group admin role:
   Create a Payment In
   Remove the Payment Method from the Financial Account
   Try to reactivate the Payment In
   The following error message is shown:
      'For input string: "N"'
No tags attached.
Issue History
2014-09-08 14:20ngarciaNew Issue
2014-09-08 14:20ngarciaAssigned To => jonalegriaesarte
2014-09-08 14:20ngarciaModules => Core
2014-09-08 14:20ngarciaResolution time => 1416524400
2014-09-08 14:20ngarciaTriggers an Emergency Pack => No
2014-09-08 15:09ngarciaIssue Monitored: networkb
2014-09-22 16:36jonalegriaesarteTarget Version => 3.0PR15Q1
2014-09-27 05:23reinaldoguerraAssigned Tojonalegriaesarte => reinaldoguerra
2014-09-27 05:23reinaldoguerraStatusnew => scheduled
2014-09-30 05:58reinaldoguerraNote Added: 0070529
2014-10-09 12:45hgbotCheckin
2014-10-09 12:45hgbotNote Added: 0070839
2014-10-09 12:45hgbotStatusscheduled => resolved
2014-10-09 12:45hgbotResolutionopen => fixed
2014-10-09 12:45hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/bee471407691773c0406b40c751cb73584fa7742 [^]
2014-10-09 12:45hgbotCheckin
2014-10-09 12:45hgbotNote Added: 0070840
2014-10-09 12:45hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/bee471407691773c0406b40c751cb73584fa7742 [^] => http://code.openbravo.com/erp/devel/pi/rev/3d7c11cf422d741b803488a2a86052b2c5383b98 [^]
2014-10-09 12:47vmromanosReview Assigned To => vmromanos
2014-10-09 12:47vmromanosNote Added: 0070841
2014-10-09 12:47vmromanosStatusresolved => closed
2014-12-30 23:22hudsonbotCheckin
2014-12-30 23:22hudsonbotNote Added: 0072922
2014-12-30 23:22hudsonbotCheckin
2014-12-30 23:22hudsonbotNote Added: 0072923

Notes
(0070529)
reinaldoguerra   
2014-09-30 05:58   
Test plan used:
1- Login into Openbravo ERP
2- Create a Payment In
3- Remove the Payment Method from the Financial Account
4- Try to reactivate the Payment In
5- A personalizad error message will be shown.

6- Also create another Payment In
7- Remove the Payment Method from the Financial Account
8- Go to tab transaction, select created payment and try to reactivate it
9- A personalizad error message will be shown.
(0070839)
hgbot   
2014-10-09 12:45   
Repository: erp/devel/pi
Changeset: bee471407691773c0406b40c751cb73584fa7742
Author: Reinaldo Guerra <reinaldo.guerra <at> peoplewalking.com>
Date: Mon Sep 29 12:06:31 2014 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/bee471407691773c0406b40c751cb73584fa7742 [^]

Fixed bug 27553: Wrong error message shown when reactivating a payment.

Payment process was modified to manage the option of reactivating a payment whose payment method does not belong to the financial account.
Now a personalized error message is shown.
Transaction process in Transaction tab of the Finantial Account window also was modified for the same cause.

---
M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MESSAGE.xml
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_TransactionProcess.java
---
(0070840)
hgbot   
2014-10-09 12:45   
Repository: erp/devel/pi
Changeset: 3d7c11cf422d741b803488a2a86052b2c5383b98
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Thu Oct 09 12:42:53 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3d7c11cf422d741b803488a2a86052b2c5383b98 [^]

Fixed bug 27553: Code review improvements

Message provides more context info, which is specially important when reactivating the transaction.

In the case of reactivating a transaction, this validation has been moved close to other validations executed before reactivating the transaction.

---
M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MESSAGE.xml
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_TransactionProcess.java
---
(0070841)
vmromanos   
2014-10-09 12:47   
Code review + testing OK
(0072922)
hudsonbot   
2014-12-30 23:22   
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/6525fe229e06 [^]
Maturity status: Test
(0072923)
hudsonbot   
2014-12-30 23:22   
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/6525fe229e06 [^]
Maturity status: Test