Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0041479Openbravo ERPA. Platformpublic2019-07-30 10:012019-07-31 12:17
caristu 
caristu 
highminoralways
newopen 
5
 
 
Core
No
0041479: Classes implementing WebService interface can not use CDI automatically
Those classes that implement the org.openbravo.service.web.WebService interface can not use CDI automatically: tt is not possible to inject elements because they are instantiated in a non-Weld way through the OBProvider.

Currently, the workaround to handle injection in such kind of classes is to make use of the WeldUtils[1] class.

[1] http://wiki.openbravo.com/wiki/Openbravo_3_Architecture#Instantiating_Weld_enabled_objects [^]
In description
No tags attached.
related to design defect 0034566 closed caristu Classes implementing Process interface can not use CDI automatically 
related to design defect 0034174 new guillermogil Allow to use Weld on Background processes that extend from DalBaseProcess 
related to defect 0043538 new Triage Platform Base Implement usage of "singleton" element for the REST web services 
Issue History
2019-07-30 10:01caristuNew Issue
2019-07-30 10:01caristuAssigned To => caristu
2019-07-30 10:01caristuModules => Core
2019-07-30 10:01caristuTriggers an Emergency Pack => No
2019-07-30 10:01caristuIssue generated from0034566
2019-07-30 10:01caristuRelationship addedrelated to 0034566
2019-07-30 10:02caristuDescription Updatedbug_revision_view_page.php?rev_id=19216#r19216
2019-07-30 10:03caristuDescription Updatedbug_revision_view_page.php?rev_id=19217#r19217
2019-07-30 10:04caristuDescription Updatedbug_revision_view_page.php?rev_id=19218#r19218
2019-07-31 12:17caristuIssue cloned0041505
2019-11-04 09:42caristuRelationship addedrelated to 0034174
2020-03-23 09:12caristuRelationship addedrelated to 0043538

There are no notes attached to this issue.