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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048440
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Localization Pack: Spain] SIImajorhave not tried2022-01-19 17:312022-04-01 10:51
ReportervmromanosView Statuspublic 
Assigned Tovmromanos 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0048440: SendInvoicesGroupsToAEAT might have problems when sending many invoices

DescriptionThe SendInvoicesGroupsToAEAT class might have the following issues:

1. It loads into memory many DAL objects without flushing and clearing cache on a regular basis. This might create an out of memory exception if the number of invoices to load is too high.

2. If the number of invoices to send in the batch, we might exceed a limit in the AEAT side (to be confirmed if this limit exists and the exact number).
Steps To ReproduceDetected in code review.
Proposed Solution1. Flush and clear session while iterating over the invoices.

2. Add a limit to the invoices retrieved by the main query.
TagsNOR
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0048238 newpsanjuan SII performance review 

-  Notes
(0135823)
hgbot (developer)
2022-03-17 20:37

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/merge_requests/32 [^]
(0136140)
hgbot (developer)
2022-03-29 18:57

Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/merge_requests/32 [^]
(0136141)
hgbot (developer)
2022-03-29 19:08

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/merge_requests/34 [^]
(0136246)
hgbot (developer)
2022-04-01 10:51

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii [^]
Changeset: 1946238ec4e58fe725343704313171023537570b
Author: Roberto Carlos Toledano Gómez <rctg82@gmail.com>
Date: 01-04-2022 08:51:20
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/commit/1946238ec4e58fe725343704313171023537570b [^]

Fixed ISSUE-48440: Fixed Performances issues related with hibernate cache management.

---
A src-db/database/sourcedata/AD_PREFERENCE.xml
M src-db/database/sourcedata/AD_MODULE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src/org/openbravo/module/sii/process/background/SendInvoicesGroupsToAEAT.java
M src/org/openbravo/module/sii/utils/SIIUtils.java
---
(0136247)
hgbot (developer)
2022-04-01 10:51

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.sii/-/merge_requests/34 [^]

- Issue History
Date Modified Username Field Change
2022-01-19 17:31 vmromanos New Issue
2022-01-19 17:31 vmromanos Assigned To => Jorge Bravo
2022-01-19 17:31 vmromanos Assigned To Jorge Bravo => vmromanos
2022-02-21 16:19 rafaroda Relationship added related to 0048238
2022-02-21 16:19 rafaroda Tag Attached: NOR
2022-03-17 20:37 hgbot Note Added: 0135823
2022-03-29 18:57 hgbot Note Added: 0136140
2022-03-29 19:08 hgbot Note Added: 0136141
2022-04-01 10:51 hgbot Resolution open => fixed
2022-04-01 10:51 hgbot Status new => closed
2022-04-01 10:51 hgbot Note Added: 0136246
2022-04-01 10:51 hgbot Note Added: 0136247


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker