Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0049555 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Modules] Copy Entity Process | minor | have not tried | 2022-06-14 18:32 | 2022-06-15 10:05 | |||
| Reporter | caristu | View Status | public | |||||
| Assigned To | alostale | |||||||
| Priority | high | Resolution | fixed | Fixed in Version | ||||
| Status | closed | 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 | |||||||
| Merge Request Status | approved | |||||||
| Regression date | 2022-05-31 | |||||||
| Regression introduced by commit | ||||||||
| Regression level | Pre packaging ( pi ) | |||||||
| Review Assigned To | ||||||||
| Support ticket | ||||||||
| OBNetwork customer | No | |||||||
| 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 [^] | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|||||||||
|
|||||||||
Notes |
|
|
(0138359) hgbot (developer) 2022-06-15 10:02 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.copyprocess/-/merge_requests/5 [^] |
|
(0138360) hgbot (developer) 2022-06-15 10:05 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.copyprocess [^] Changeset: a1cd51e77141a2979c602fa35529c7894746c71a Author: Asier Lostalé <asier.lostale@openbravo.com> Date: 15-06-2022 10:00:50 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.copyprocess/-/commit/a1cd51e77141a2979c602fa35529c7894746c71a [^] fixes BUG-49555: useless CDI scope definition in interface CSDI scopes in interfaces are not taken into account. In this case removing the scope (leaving default @Dependent scope) for classes implementing it is fine. --- M src/org/openbravo/copyprocess/process/fileimport/CopyProcessFileColumnHandler.java --- |
|
(0138361) hgbot (developer) 2022-06-15 10:05 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.copyprocess/-/merge_requests/5 [^] |
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:32 | caristu | OBNetwork customer | => No |
| 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 | Merge Request Status | => open |
| 2022-06-15 10:02 | hgbot | Note Added: 0138359 | |
| 2022-06-15 10:05 | hgbot | Merge Request Status | open => approved |
| 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 | |
| Copyright © 2000 - 2009 MantisBT Group |