Openbravo Issue Tracking System - Modules
View Issue Details
0030810ModulesRemittancepublic2015-09-10 12:392015-09-18 12:29
maite 
AtulOpenbravo 
urgentmajoralways
closedfixed 
5
 
 
2015-02-19
https://code.openbravo.com/erp/mods/org.openbravo.module.remittance/rev/7a3443a9f8239bb80e23dc2a1d48a6ad27790983 [^]
Production - QA Approved
vmromanos
0030810: Error "could not initialize proxy - no Session" when processing a remittance using "grouping" option
Error "could not initialize proxy - no Session" when processing a remittance using "grouping" option
1. 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
problem is that "OBDal.getInstance().getSession().clear();" is executed in line 403
No tags attached.
caused by defect 0028809 closed fsoto82 Processing a remiitance with more than 300 lineas takes arround 10 minutes 
Issue History
2015-09-10 12:39maiteNew Issue
2015-09-10 12:39maiteAssigned To => Triage Finance
2015-09-10 12:39maiteResolution time => 1444773600
2015-09-10 12:39maiteIssue Monitored: networkb
2015-09-10 12:41maiteProposed Solution updated
2015-09-11 09:01vmromanosRegression date => 2015-02-19
2015-09-11 09:01vmromanosRegression introduced by commit => https://code.openbravo.com/erp/mods/org.openbravo.module.remittance/rev/7a3443a9f8239bb80e23dc2a1d48a6ad27790983 [^]
2015-09-11 09:01vmromanosRegression level => Production - QA Approved
2015-09-11 09:01vmromanosRelationship addedcaused by 0028809
2015-09-11 09:02vmromanosStatusnew => scheduled
2015-09-11 09:02vmromanosAssigned ToTriage Finance => AtulOpenbravo
2015-09-14 11:02AtulOpenbravoNote Added: 0080365
2015-09-14 13:14hgbotCheckin
2015-09-14 13:14hgbotNote Added: 0080368
2015-09-14 13:14hgbotStatusscheduled => resolved
2015-09-14 13:14hgbotResolutionopen => fixed
2015-09-14 13:14hgbotFixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.module.remittance/rev/1dbab4ecf9cf0f796bce275ebc22debbfd57cd8e [^]
2015-09-14 13:17vmromanosReview Assigned To => vmromanos
2015-09-14 13:17vmromanosNote Added: 0080369
2015-09-14 13:17vmromanosStatusresolved => closed
2015-09-14 13:20vmromanosNote Added: 0080370
2015-09-18 12:29hgbotCheckin
2015-09-18 12:29hgbotNote Added: 0080492
2015-09-18 12:29hgbotStatusclosed => resolved
2015-09-18 12:29hgbotFixed in SCM revisionhttp://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:29vmromanosStatusresolved => closed

Notes
(0080365)
AtulOpenbravo   
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   
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   
2015-09-14 13:17   
Code review + testing OK
(0080370)
vmromanos   
2015-09-14 13:20   
Available in 3.2.24 (or higher)
(0080492)
hgbot   
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
---