Openbravo Issue Tracking System - Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0049555 | Modules | Copy Entity Process | public | 2022-06-14 18:32 | 2022-06-15 10:05 |
|
Reporter | caristu | |
Assigned To | alostale | |
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Regression date | 2022-05-31 |
Regression introduced by commit | |
Regression level | Pre packaging ( pi ) |
Review Assigned To | |
Support ticket | |
OBNetwork customer | |
Regression introduced in release | |
|
Summary | 0049555: Warning when executing a WeldBaseTest having the Copy Entity Process module installed |
Description | Having the Copy Entity Process module installed, the following warning is raised when executing a WeldBaseTest:
WARN org.jboss.weld.Bootstrap - WELD-000167: Class org.openbravo.copyprocess.process.fileimport.CopyProcessFileColumnHandler is annotated with @RequestScoped but it does not declare an appropriate constructor therefore is not registered as a bean!
|
Steps To Reproduce | 1) Install the Copy Entity Process module
2) Execute any test extending WeldBaseTest. The warning appears during the test initialization |
Proposed Solution | The CopyProcessFileColumnHandler[1] is an interface, so annotating it as @RequestScoped has no effect on the classes implementing it. We have to review it and decide one of these two options:
a) Just remove the annotation from the CopyProcessFileColumnHandler
b) Remove the annotation from the CopyProcessFileColumnHandler and add the annotation into the classes implementing it
[1] https://gitlab.com/openbravo/product/pmods/org.openbravo.copyprocess/-/blob/master/src/org/openbravo/copyprocess/process/fileimport/CopyProcessFileColumnHandler.java [^] |
Additional Information | |
Tags | No tags attached. |
Relationships | caused by | feature request | 0049298 | | closed | njimenez | Retail Modules | Generalize Copy OB Object From Copy Store |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-06-14 18:32 | caristu | New Issue | |
2022-06-14 18:32 | caristu | Assigned To | => Triage Platform Base |
2022-06-14 18:39 | caristu | Proposed Solution updated | |
2022-06-15 08:18 | alostale | Relationship added | caused by 0049298 |
2022-06-15 08:19 | alostale | Regression date | => 2022-05-31 |
2022-06-15 08:19 | alostale | Regression level | => Pre packaging ( pi ) |
2022-06-15 10:00 | alostale | Assigned To | Triage Platform Base => alostale |
2022-06-15 10:02 | hgbot | Note Added: 0138359 | |
2022-06-15 10:05 | hgbot | Resolution | open => fixed |
2022-06-15 10:05 | hgbot | Status | new => closed |
2022-06-15 10:05 | hgbot | Note Added: 0138360 | |
2022-06-15 10:05 | hgbot | Note Added: 0138361 | |