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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040072
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Advance Warehouse Operationsminorhave not tried2019-01-30 14:052019-01-30 14:06
ReportercaristuView Statuspublic 
Assigned ToTriage Omni WMS 
PriorityhighResolutionopenFixed in Version
StatusnewFix 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

0040072: TaskEventObserver should be defined as @ApplicationScoped

DescriptionAfter 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 ReproduceN/A
Proposed SolutionReview how the "toleranceManager" affectes to the thread safeness of the TaskEventObserver in case it is declared as @ApplicationScoped and apply the required changes.
TagsPerformance
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0040046 closedcaristu Openbravo ERP unnecessary objects are created every time any DAL object is created/updated/deleted 

-  Notes
There are no notes attached to this issue.

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker