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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055278
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorrandom2024-04-22 14:522024-05-02 10:42
ReporterRomain_GesquiereView Statuspublic 
Assigned Toeugen_hamuraru 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version7.x
OS VersionOpenbravo Appliance 14.04Database version9.3.xAnt version1.9.x
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0055278: Not thread-safe on printing can lead to unexpected result

DescriptionAs the part of the code in the link below is not thread-safe, we can randomly have for example:
-User try to print multiple invoices
-At the same time some other user try to print one invoice
-The multi-print is not considered as multi-print and returns only one invoice

These variables are probably not thread-safe:

https://docs.google.com/document/d/1iAMkF9DvjQm3tAvCfOIa1IWuicmyfPcRjzWcwukW0l4/edit?usp=sharing [^]


The problematic code is in https://gitlab.com/openbravo/product/openbravo/-/blob/3.0PR24Q1.1/src/org/openbravo/erpCommon/utility/reporting/printing/PrintController.java#L103 [^]
Steps To ReproduceCan happen randomly
Proposed SolutionIdea of fix linked
TagsNo tags attached.
Attached Filesdiff file icon jasper_fix.diff [^] (4,380 bytes) 2024-04-22 14:52 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0163985)
hgbot (developer)
2024-05-02 10:42

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1220 [^]

- Issue History
Date Modified Username Field Change
2024-04-22 14:52 Romain_Gesquiere New Issue
2024-04-22 14:52 Romain_Gesquiere Assigned To => Triage Omni WMS
2024-04-22 14:52 Romain_Gesquiere File Added: jasper_fix.diff
2024-04-24 14:29 alostale Assigned To Triage Omni WMS => Triage Platform Conn
2024-04-24 14:30 alostale Project Modules => Openbravo ERP
2024-04-24 14:30 alostale Modules => Core
2024-04-24 14:30 alostale Triggers an Emergency Pack => No
2024-04-24 14:30 alostale Category Reporting => A. Platform
2024-04-24 14:37 alostale Description Updated View Revisions
2024-04-30 09:42 adrianromero Assigned To Triage Platform Conn => eugen_hamuraru
2024-05-02 10:42 hgbot Note Added: 0163985


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker