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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049555
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Copy Entity Processminorhave not tried2022-06-14 18:322022-06-15 10:05
ReportercaristuView Statuspublic 
Assigned Toalostale 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date2022-05-31
Regression introduced by commit
Regression levelPre packaging ( pi )
Review Assigned To
Regression introduced in release
Summary

0049555: Warning when executing a WeldBaseTest having the Copy Entity Process module installed

DescriptionHaving 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 Reproduce1) Install the Copy Entity Process module
2) Execute any test extending WeldBaseTest. The warning appears during the test initialization
Proposed SolutionThe 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 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by feature request 0049298 closednjimenez Retail Modules Generalize Copy OB Object From Copy Store 

-  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: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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker