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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0023605
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] Z. Othersminoralways2013-04-22 12:482013-06-20 02:07
ReportermaiteView Statuspublic 
Assigned Tojecharri 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionbd57b3663eec
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
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

0023605: Error matching business partner when importing bank statement, under some circumstances

DescriptionWhen no Business Partner object exist with same name as Bank Stetament Line Business Partner Name, but other Business Partners object with part of Business Partner Name exists, import is not done correctly.
Steps To Reproduce1. Import Bank Statement and realize that Business Partner Name and Business Partner object don't match in just imported Bank Statement Line

Problem is in method "closest" in "FIN_BankStatetementImport.java". Variable "targetBusinessPartner" is loaded with first BP in list and "distance" variable is calculated for it. If no other Business Partner of the list fits "partnername" with lower distance, "targetBusinessPartner" is returned. Problem is that "targetBusinessPartner" could also NO FITS "partnername".
Proposed Solutionline
int bpDistance = StringUtils.getLevenshteinDistance(partnername, bp.getName().toLowerCase());
should be substituted by
int bpDistance = StringUtils.getLevenshteinDistance(parsedPartnername, bp.getName().toLowerCase());
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0059195)
hgbot (developer)
2013-06-05 17:16

Repository: erp/devel/pi
Changeset: bd57b3663eec32e8fb0833e7f35d203c133425fe
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Wed Jun 05 17:14:58 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/bd57b3663eec32e8fb0833e7f35d203c133425fe [^]

Fixes issue 23605: Error matching business
partner when importing bank statement, under some circumstances

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_BankStatementImport.java
---
(0059197)
maite (developer)
2013-06-05 17:39

verified
(0059544)
hudsonbot (developer)
2013-06-20 02:07

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/5caf871044ad [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2013-04-22 12:48 maite New Issue
2013-04-22 12:48 maite Assigned To => dmiguelez
2013-04-22 12:48 maite Modules => Advanced Payables and Receivables Mngmt
2013-04-22 12:48 maite Triggers an Emergency Pack => No
2013-04-22 12:48 maite Issue Monitored: networkb
2013-04-22 19:21 dmiguelez Assigned To dmiguelez => jonalegriaesarte
2013-05-27 16:18 jonalegriaesarte Assigned To jonalegriaesarte => jecharri
2013-05-28 18:21 jecharri Assigned To jecharri => dmiguelez
2013-05-28 18:21 jecharri Type defect => design defect
2013-05-28 18:21 jecharri Target Version 3.0MP24 =>
2013-06-05 17:13 maite Assigned To dmiguelez => jecharri
2013-06-05 17:13 maite Proposed Solution updated
2013-06-05 17:16 hgbot Checkin
2013-06-05 17:16 hgbot Note Added: 0059195
2013-06-05 17:16 hgbot Status new => resolved
2013-06-05 17:16 hgbot Resolution open => fixed
2013-06-05 17:16 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/bd57b3663eec32e8fb0833e7f35d203c133425fe [^]
2013-06-05 17:39 maite Note Added: 0059197
2013-06-05 17:39 maite Status resolved => closed
2013-06-20 02:07 hudsonbot Checkin
2013-06-20 02:07 hudsonbot Note Added: 0059544


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker