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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030810
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Remittancemajoralways2015-09-10 12:392015-09-18 12:29
ReportermaiteView Statuspublic 
Assigned ToAtulOpenbravo 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision84428271f287
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date2015-02-19
Regression introduced by commithttps://code.openbravo.com/erp/mods/org.openbravo.module.remittance/rev/7a3443a9f8239bb80e23dc2a1d48a6ad27790983 [^]
Regression levelProduction - QA Approved
Review Assigned Tovmromanos
Regression introduced in release
Summary

0030810: Error "could not initialize proxy - no Session" when processing a remittance using "grouping" option

DescriptionError "could not initialize proxy - no Session" when processing a remittance using "grouping" option
Steps To Reproduce1. Create remittance header
2. Run "add orders or invoices" process and select 2 lines
3. Run Process button choosing any grouping option (group by business partner, for example) and error will be raised
Proposed Solutionproblem is that "OBDal.getInstance().getSession().clear();" is executed in line 403
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by defect 0028809 closedfsoto82 Processing a remiitance with more than 300 lineas takes arround 10 minutes 

-  Notes
(0080365)
AtulOpenbravo (developer)
2015-09-14 11:02

Test Plan

- Pre-requisite: Follow the remittance configuration as mentioned in the link http://wiki.openbravo.com/wiki/Projects/Remittances/Configuration_Manual [^]


- Login as F&B International Group Admin.
- Navigate to Remittance window and create remittance new record.
- Run "add orders or invoices" process and select 2 lines. if record not loaded in grid use check box select document with different payment method.
- Run Process button choosing any grouping option (group by business partner, for example).
- Check that process is executed successfully.
(0080368)
hgbot (developer)
2015-09-14 13:14

Repository: erp/mods/org.openbravo.module.remittance
Changeset: 1dbab4ecf9cf0f796bce275ebc22debbfd57cd8e
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Fri Sep 11 16:30:40 2015 +0530
URL: http://code.openbravo.com/erp/mods/org.openbravo.module.remittance/rev/1dbab4ecf9cf0f796bce275ebc22debbfd57cd8e [^]

Fixes Issue 30810:Error "could not initialize proxy - no Session" when
processing a remittance using "grouping" option

Problematic line which clears session is removed.
** OBDal.getInstance().getSession().clear();

---
M src/org/openbravo/module/remittance/process/REM_RemittanceProcess.java
---
(0080369)
vmromanos (manager)
2015-09-14 13:17

Code review + testing OK
(0080370)
vmromanos (manager)
2015-09-14 13:20

Available in 3.2.24 (or higher)
(0080492)
hgbot (developer)
2015-09-18 12:29

Repository: erp/mods/org.openbravo.module.remittance
Changeset: 84428271f2874f8fafc0029ef30f4bc1d781ea59
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Fri Sep 18 12:25:48 2015 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.module.remittance/rev/84428271f2874f8fafc0029ef30f4bc1d781ea59 [^]

Fixed bug 30810: remittance object not available under some circunstances

There are scenarios where the remittance object is not available in the Hibernate session. This changeset forces to get the remittance object each time a line is processed

---
M src-db/database/sourcedata/AD_MODULE.xml
M src/org/openbravo/module/remittance/process/REM_RemittanceProcess.java
---

- Issue History
Date Modified Username Field Change
2015-09-10 12:39 maite New Issue
2015-09-10 12:39 maite Assigned To => Triage Finance
2015-09-10 12:39 maite Resolution time => 1444773600
2015-09-10 12:39 maite Issue Monitored: networkb
2015-09-10 12:41 maite Proposed Solution updated
2015-09-11 09:01 vmromanos Regression date => 2015-02-19
2015-09-11 09:01 vmromanos Regression introduced by commit => https://code.openbravo.com/erp/mods/org.openbravo.module.remittance/rev/7a3443a9f8239bb80e23dc2a1d48a6ad27790983 [^]
2015-09-11 09:01 vmromanos Regression level => Production - QA Approved
2015-09-11 09:01 vmromanos Relationship added caused by 0028809
2015-09-11 09:02 vmromanos Status new => scheduled
2015-09-11 09:02 vmromanos Assigned To Triage Finance => AtulOpenbravo
2015-09-14 11:02 AtulOpenbravo Note Added: 0080365
2015-09-14 13:14 hgbot Checkin
2015-09-14 13:14 hgbot Note Added: 0080368
2015-09-14 13:14 hgbot Status scheduled => resolved
2015-09-14 13:14 hgbot Resolution open => fixed
2015-09-14 13:14 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.module.remittance/rev/1dbab4ecf9cf0f796bce275ebc22debbfd57cd8e [^]
2015-09-14 13:17 vmromanos Review Assigned To => vmromanos
2015-09-14 13:17 vmromanos Note Added: 0080369
2015-09-14 13:17 vmromanos Status resolved => closed
2015-09-14 13:20 vmromanos Note Added: 0080370
2015-09-18 12:29 hgbot Checkin
2015-09-18 12:29 hgbot Note Added: 0080492
2015-09-18 12:29 hgbot Status closed => resolved
2015-09-18 12:29 hgbot Fixed in SCM revision http://code.openbravo.com/erp/mods/org.openbravo.module.remittance/rev/1dbab4ecf9cf0f796bce275ebc22debbfd57cd8e [^] => http://code.openbravo.com/erp/mods/org.openbravo.module.remittance/rev/84428271f2874f8fafc0029ef30f4bc1d781ea59 [^]
2015-09-18 12:29 vmromanos Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker