Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0055278 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | random | 2024-04-22 14:52 | 2024-05-06 16:19 | |||
Reporter | Romain_Gesquiere | View Status | public | |||||
Assigned To | eugen_hamuraru | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | PR24Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 7.x | |||
OS Version | Openbravo Appliance 14.04 | Database version | 9.3.x | Ant version | 1.9.x | |||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | Gold | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 89500 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0055278: Not thread-safe on printing can lead to unexpected result | |||||||
Description | As 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 Reproduce | Can happen randomly | |||||||
Proposed Solution | Idea of fix linked | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0163985) hgbot (developer) 2024-05-02 10:42 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1220 [^] |
(0164113) hgbot (developer) 2024-05-06 16:19 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: b5a069b756aa1d698787e0fcd05096c970dd4ddd Author: Eugen Hamuraru <eugen.hamuraru@openbravo.com> Date: 06-05-2024 14:19:27 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/b5a069b756aa1d698787e0fcd05096c970dd4ddd [^] Fixes BUG-55278: PrintController was not thread-safe - Remove the usage of instance variables - Removed also wrongly overloaded createEmailOptionsPage method which was calling itself --- M src/org/openbravo/erpCommon/utility/reporting/printing/PrintController.java --- |
(0164114) hgbot (developer) 2024-05-06 16:19 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1220 [^] |
![]() |
|||
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-22 14:52 | Romain_Gesquiere | Support ticket | => 89500 |
2024-04-22 14:52 | Romain_Gesquiere | OBNetwork customer | => Gold |
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 | Merge Request Status | => open |
2024-05-02 10:42 | hgbot | Note Added: 0163985 | |
2024-05-06 16:16 | hgbot | Merge Request Status | open => approved |
2024-05-06 16:19 | hgbot | Resolution | open => fixed |
2024-05-06 16:19 | hgbot | Status | new => closed |
2024-05-06 16:19 | hgbot | Fixed in Version | => PR24Q3 |
2024-05-06 16:19 | hgbot | Note Added: 0164113 | |
2024-05-06 16:19 | hgbot | Note Added: 0164114 |
Copyright © 2000 - 2009 MantisBT Group |