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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0019931
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Cuaderno 43minoralways2012-03-01 12:162012-05-14 17:17
ReportermaiteView Statuspublic 
Assigned ToioritzCia 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionc10d46987dea
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Support ticket
OBNetwork customerOBPS
Regression introduced in release
Summary

0019931: No error shown in user interface when bank statement file contains additional empty line at end of file

DescriptionNo error shown in user interface when bank statement file contains additional empty line at end of file. Error shown in log is
"ERROR org.openbravo.base.exception.OBException - String index out of range: 2
java.lang.StringIndexOutOfBoundsException: String index out of range: 2"
Steps To Reproduce1. install Cuaderno 43 module
2. go to Financial Account "Banco de EspaƱa - Cuenta 1" and set:
  Bank Code= 2000
  Branch Code=2000
  Bank Control Digit=3
  Account control digit=0
  Partial Account No.=0000000001
  Account No.= 200020000000000001
3. press "Import statement" button
4. try to import attached ban statement file and realize that no error message is obtained but if you go to "Imported Bank Statement" tab you can verify that bank statement has not been imported.

review log and verify that error has been captured

Proposed SolutionShow error message indicating that Bank statement file could not be imported due to wrong line and indicate which line is causing problem
TagsNo tags attached.
Attached Files? file icon test.ext [^] (446 bytes) 2012-03-01 12:16

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0048468)
hgbot (developer)
2012-05-08 18:24

Repository: erp/pmods/org.openbravo.module.cuaderno43.es
Changeset: c10d46987dea09cbfd1facc3b860be526074a7a4
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Tue May 08 13:48:53 2012 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.cuaderno43.es/rev/c10d46987dea09cbfd1facc3b860be526074a7a4 [^]

Fixes issue 19931: Error importing bank statement.
No error shown in user interface when bank statement file contains additional empty line at end of file.

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MODULE.xml
M src/org/openbravo/module/cuaderno43/es/utility/Cuaderno43.java
---
(0048469)
ioritzCia (viewer)
2012-05-08 18:26

Process Plan:

Follow the steps to reproduce, now it should not fail, it should work properly even if the file has empty lines at the end.
(0048629)
maite (viewer)
2012-05-14 17:17

verified

- Issue History
Date Modified Username Field Change
2012-03-01 12:16 maite New Issue
2012-03-01 12:16 maite Assigned To => eduardo_Argal
2012-03-01 12:16 maite File Added: test.ext
2012-03-01 12:16 maite OBNetwork customer => Yes
2012-03-01 12:18 maite Issue Monitored: networkb
2012-03-06 17:47 jonalegriaesarte Assigned To eduardo_Argal => jecharri
2012-04-13 10:11 jecharri Assigned To jecharri => ioritzCia
2012-05-08 18:24 hgbot Checkin
2012-05-08 18:24 hgbot Note Added: 0048468
2012-05-08 18:24 hgbot Status new => resolved
2012-05-08 18:24 hgbot Resolution open => fixed
2012-05-08 18:24 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.module.cuaderno43.es/rev/c10d46987dea09cbfd1facc3b860be526074a7a4 [^]
2012-05-08 18:26 ioritzCia Note Added: 0048469
2012-05-14 17:17 maite Note Added: 0048629
2012-05-14 17:17 maite Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker