Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022783Openbravo ERPZ. Otherspublic2013-01-11 13:542013-01-28 16:54
maite 
jonalegriaesarte 
immediateminoralways
closedfixed 
5
 
3.0MP20 
Advanced Payables and Receivables Mngmt
No
0022783: Error in "Generate Payment" process
Error in "Generate Payment" process
1. Create Payment proposal header
2. Add payment proposal lines until that description of payment which is going to be created is more than 255 characters
3. Run "Generate Payment" process and error will be raised
Problem is in "FIN_PaymentProcess.java, in line 219 when description is going to be truncated. Instead of code:
String truncateDescription = (description.length() > 255) ? description
                .substring(0, 252).concat("...").toString() : description.toString();
following code should be set:
String truncateDescription = (description.length() > 255) ? description
                .substring(0, 251).concat("...").toString() : description.toString();
No tags attached.
Issue History
2013-01-11 13:54maiteNew Issue
2013-01-11 13:54maiteAssigned To => dmiguelez
2013-01-11 13:54maiteModules => Advanced Payables and Receivables Mngmt
2013-01-11 13:54maiteTriggers an Emergency Pack => No
2013-01-11 13:56maiteTarget Version => 3.0MP20
2013-01-11 13:56maitePriorityhigh => immediate
2013-01-11 13:56maiteAssigned Todmiguelez => jonalegriaesarte
2013-01-11 14:05maiteIssue Monitored: networkb
2013-01-24 11:40hgbotCheckin
2013-01-24 11:40hgbotNote Added: 0055803
2013-01-24 11:40hgbotStatusnew => resolved
2013-01-24 11:40hgbotResolutionopen => fixed
2013-01-24 11:40hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0748646d63bb097a948678d9a4a304a38253855d [^]
2013-01-24 21:40hudsonbotCheckin
2013-01-24 21:40hudsonbotNote Added: 0055825
2013-01-28 16:54maiteNote Added: 0055919
2013-01-28 16:54maiteStatusresolved => closed

Notes
(0055803)
hgbot   
2013-01-24 11:40   
Repository: erp/devel/pi
Changeset: 0748646d63bb097a948678d9a4a304a38253855d
Author: Jon Alegría <jon.alegria <at> openbravo.com>
Date: Thu Jan 24 11:40:04 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/0748646d63bb097a948678d9a4a304a38253855d [^]

Fixes issue 0022783: Error in "Generate Payment" process

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
M src-util/modulescript/src/org/openbravo/modulescript/InitializeAcctDimensionsInClient_data.xsql
---
(0055825)
hudsonbot   
2013-01-24 21:40   
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/fbbe21bdfeff [^]

Maturity status: Test
(0055919)
maite   
2013-01-28 16:54   
verified