Openbravo Issue Tracking System - Modules
View Issue Details
0036946ModulesNot Posted Transactionspublic2017-09-25 17:322017-11-17 18:26
ngarcia 
collazoandy4 
urgentmajoralways
closedfixed 
5
 
 
dmiguelez
0036946: Error message when trying to post more than one document with error in Report Not Posted Window
Error message when trying to post more than one document with error in Report Not Posted Window
Check the db.externalPoolClassName parameter is defined in Openbravo.properties file (define it and compile if it is not the case)

As group admin role:
   Deactivate the current conversion rate between EUR-USD and USD-EUR
   Create two sales invoices
   Go to Report Not Posted window, select the two records related with the previously created invoices, click on post and OK
   Check the following error message is shown:
      could not load an entity: [<entityName>#<identifier>]
No tags attached.
depends on defect 0036945 closed AtulOpenbravo Cannot post a document from the Report Not Posted window if an External Connection Pool is not used 
Issue History
2017-09-25 17:32ngarciaNew Issue
2017-09-25 17:32ngarciaAssigned To => Triage Finance
2017-09-25 17:32ngarciaResolution time => 1508104800
2017-09-25 17:33ngarciaRelationship addeddepends on 0036945
2017-09-26 11:40aferrazAssigned ToTriage Finance => markmm82
2017-09-26 16:38markmm82Statusnew => acknowledged
2017-09-26 19:38markmm82Statusacknowledged => scheduled
2017-09-28 18:13aferrazAssigned Tomarkmm82 => AtulOpenbravo
2017-10-03 10:03aferrazNote Added: 0099715
2017-10-03 10:03aferrazAssigned ToAtulOpenbravo => ngarcia
2017-10-03 10:03aferrazStatusscheduled => feedback
2017-11-15 17:56ngarciaStatusfeedback => new
2017-11-15 17:56ngarciaSummaryError message when trying to post more than one document in Report Not Posted Window => Error message when trying to post more than one document with error in Report Not Posted Window
2017-11-15 17:56ngarciaDescription Updatedbug_revision_view_page.php?rev_id=16291#r16291
2017-11-15 17:56ngarciaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=16293#r16293
2017-11-15 17:57ngarciaResolution time1508104800 => 1511823600
2017-11-15 17:57ngarciaAssigned Tongarcia => Triage Finance
2017-11-15 18:21ngarciaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=16294#r16294
2017-11-15 18:21ngarciaIssue Monitored: networkb
2017-11-16 08:52dmiguelezAssigned ToTriage Finance => collazoandy4
2017-11-16 15:21collazoandy4Statusnew => scheduled
2017-11-17 00:40collazoandy4Note Added: 0100560
2017-11-17 18:24hgbotCheckin
2017-11-17 18:24hgbotNote Added: 0100598
2017-11-17 18:24hgbotStatusscheduled => resolved
2017-11-17 18:24hgbotResolutionopen => fixed
2017-11-17 18:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.financialmgmt.accounting.report.notposted/rev/52cb7511fe58353e37fa4a4dd900de30835558f7 [^]
2017-11-17 18:24hgbotCheckin
2017-11-17 18:24hgbotNote Added: 0100599
2017-11-17 18:26dmiguelezReview Assigned To => dmiguelez
2017-11-17 18:26dmiguelezNote Added: 0100600
2017-11-17 18:26dmiguelezStatusresolved => closed

Notes
(0099715)
aferraz   
2017-10-03 10:03   
Not reproducible.
(0100560)
collazoandy4   
2017-11-17 00:40   
Test Plan
  Check the db.externalPoolClassName parameter is defined in Openbravo.properties file (define it and compile if it is not the case)

 As group admin role:
   Go to Process Request window and unschedule the Acct Server process
   Go to Conversion Rate window and deactivate the current conversion rate between EUR-USD and USD-EUR
   Create two sales invoices for Alimentos business partner wit any product and comple it
   Go to Report Not Posted window, select the two records related with the previously created invoices, click on post and OK
   Check the process ends successfull and the error count is 2
   Check that the two invoices show no records in Accounting tab
   Go to Conversion Rate window and activate the current conversion rate between EUR-USD and USD-EUR
   Go to Report Not Posted window, select the two records related with the previously created invoices, click on post and OK
   Check the process ends successfull and the Posted documents count is 2
   Check that two invoices are now posted and show post information in Accounting tab
(0100598)
hgbot   
2017-11-17 18:24   
Repository: erp/mods/org.openbravo.financialmgmt.accounting.report.notposted
Changeset: 52cb7511fe58353e37fa4a4dd900de30835558f7
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Thu Nov 16 16:18:14 2017 -0500
URL: http://code.openbravo.com/erp/mods/org.openbravo.financialmgmt.accounting.report.notposted/rev/52cb7511fe58353e37fa4a4dd900de30835558f7 [^]

Fixes issue 36946: Error message when trying to post more than one document
with error in Report Not Posted Window

When the process try to post more than one document with error the session was
not ending correctly causing the error message and aborting the post process

Now a commit and close is always made to properly end the transaction in session

---
M src/org/openbravo/financialmgmt/accounting/report/notposted/PostHandler.java
---
(0100599)
hgbot   
2017-11-17 18:24   
Repository: erp/mods/org.openbravo.financialmgmt.accounting.report.notposted
Changeset: 54466d338484d49624fc77654263745a4e553681
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Fri Nov 17 14:28:33 2017 +0100
URL: http://code.openbravo.com/erp/mods/org.openbravo.financialmgmt.accounting.report.notposted/rev/54466d338484d49624fc77654263745a4e553681 [^]

Related to Issue 36946. Updated Module version and description

---
M src-db/database/sourcedata/AD_MODULE.xml
---
(0100600)
dmiguelez   
2017-11-17 18:26   
Code Review + Testing Ok