Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0040072 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Modules] Advanced Warehouse Operations | minor | have not tried | 2019-01-30 14:05 | 2019-01-30 14:06 | |||||||
Reporter | caristu | View Status | public | |||||||||
Assigned To | Triage Omni WMS | |||||||||||
Priority | high | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Regression date | ||||||||||||
Regression introduced by commit | ||||||||||||
Regression level | ||||||||||||
Review Assigned To | ||||||||||||
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. | |||||||||||
Tags | Performance | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||
|
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 |
Copyright © 2000 - 2009 MantisBT Group |