Openbravo Issue Tracking System - Modules | |||||||||||||
View Issue Details | |||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0040072 | Modules | Advanced Warehouse Operations | public | 2019-01-30 14:05 | 2019-01-30 14:06 | ||||||||
Reporter | caristu | ||||||||||||
Assigned To | Triage Omni WMS | ||||||||||||
Priority | high | Severity | minor | Reproducibility | have not tried | ||||||||
Status | new | Resolution | open | ||||||||||
Platform | OS | 5 | OS Version | ||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | ||||||||||||
Merge Request Status | |||||||||||||
Regression date | |||||||||||||
Regression introduced by commit | |||||||||||||
Regression level | |||||||||||||
Review Assigned To | |||||||||||||
Support ticket | |||||||||||||
OBNetwork customer | |||||||||||||
Regression introduced in release | |||||||||||||
Summary | 0040072: TaskEventObserver should be defined as @ApplicationScoped | ||||||||||||
Description | After the fix for issue 0040046 all the classes extending EntityPersistenceEventObserver will be ApplicationScoped by default. This is not the case of the TaskEventObserver which currently is explictly declared as Dependent. This is because it can not be safely defined as ApplicationScoped because the class has state given by the "toleranceManager" field. Being @Dependent, a new TaskEventObserver instance is generated on every new write operation performed by DAL (save, update, remove). | ||||||||||||
Steps To Reproduce | N/A | ||||||||||||
Proposed Solution | Review how the "toleranceManager" affectes to the thread safeness of the TaskEventObserver in case it is declared as @ApplicationScoped and apply the required changes. | ||||||||||||
Additional Information | |||||||||||||
Tags | Performance | ||||||||||||
Relationships |
| ||||||||||||
Attached Files | |||||||||||||
Issue History | |||||||||||||
Date Modified | Username | Field | Change | ||||||||||
2019-01-30 14:05 | caristu | New Issue | |||||||||||
2019-01-30 14:05 | caristu | Assigned To | => Triage Finance | ||||||||||
2019-01-30 14:05 | caristu | Relationship added | related to 0040046 | ||||||||||
2019-01-30 14:06 | caristu | Tag Attached: Performance | |||||||||||
2022-09-06 17:18 | caristu | Category | Advance Warehouse Operations => Advanced Warehouse Operations |
There are no notes attached to this issue. |