Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0034174Openbravo ERPA. Platformpublic2016-10-05 07:232019-11-04 09:42
guillermogil 
guillermogil 
normalminorN/A
newopen 
5
 
 
Core
No
0034174: Allow to use Weld on Background processes that extend from DalBaseProcess
Background processes that extend from DalBaseProcess cannot use Weld right now.
If you try to inject anything on a backgroung process you will notice that it always returns empty, it is not injecting anything.

e.g.-
Try to add a hook (http://wiki.openbravo.com/wiki/How_to_Add_Server_Side_Hooks [^]) on a new created background process (http://wiki.openbravo.com/wiki/How_to_develop_a_DAL_background_process [^])
Even if there is some implementation of the hook it will not get executed.
N/A
See diff attached
No tags attached.
related to design defect 0034566 closed caristu Classes implementing Process interface can not use CDI automatically 
related to design defect 0041479 new caristu Classes implementing WebService interface can not use CDI automatically 
has duplicate design defect 0035584 closed platform It is not possible to use Dependency Injection using Weld in background DalBaseProcess 
diff weld.diff (1,731) 2016-10-05 07:23
https://issues.openbravo.com/file_download.php?file_id=9894&type=bug
Issue History
2016-10-05 07:23guillermogilNew Issue
2016-10-05 07:23guillermogilAssigned To => guillermogil
2016-10-05 07:23guillermogilFile Added: weld.diff
2016-10-05 07:23guillermogilModules => Core
2016-10-05 07:23guillermogilTriggers an Emergency Pack => No
2016-10-05 07:30guillermogilDescription Updatedbug_revision_view_page.php?rev_id=13334#r13334
2016-10-05 07:30guillermogilDescription Updatedbug_revision_view_page.php?rev_id=13335#r13335
2017-10-11 18:53caristuTypefeature request => design defect
2017-10-11 18:54caristuRelationship addedhas duplicate 0035584
2017-10-11 18:54caristuRelationship addedrelated to 0034566
2019-11-04 09:42caristuRelationship addedrelated to 0041479

There are no notes attached to this issue.