Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040739 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Copy Retail Store | minor | have not tried | 2019-05-02 09:58 | 2019-05-10 12:05 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR19Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 182964536544 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | marvintm | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040739: BlankProperties should not be annotated with @ApplicationScoped | |||||||
Description | The BlankProperties class is annotated with the @ApplicationScoped. Note that this is not needed as this annotation has no effect on interfaces. Besides, because of this reason, the following warning may appear in the Openbravo log (after the Weld upgrade to version 3.1.0): WARN org.jboss.weld.Bootstrap - WELD-000167: Class org.openbravo.retail.copystore.process.BlankProperties is annotated with @ApplicationScoped but it does not declare an appropriate constructor therefore is not registered as a bean! See for example: http://ci.openbravo.com/job/mod-simple/38340/artifact/SANDBOX/tomcat-logs/mod-simple-ci23.18101.log [^] | |||||||
Steps To Reproduce | In description | |||||||
Proposed Solution | Remove the annotation and update the class javadoc to document that classes implementing the BlankProperties interface should be annotated as @ApplicationScoped. See an example of a similar fix: https://code.openbravo.com/erp/devel/pi/diff/d5f700f4b718/src/org/openbravo/costing/CostAdjusmentProcessCheck.java [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||
|
Notes | |
(0111446) hgbot (developer) 2019-05-02 18:04 |
Repository: erp/pmods/org.openbravo.retail.copystore Changeset: 18296453654461a5a8a47eb824b02a801950665d Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Thu May 02 18:04:13 2019 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.copystore/rev/18296453654461a5a8a47eb824b02a801950665d [^] fixes bug 40739: BlankProperties shouldn't be annotated with @ApplicationScoped --- M src/org/openbravo/retail/copystore/process/BlankProperties.java --- |
Issue History | |||
Date Modified | Username | Field | Change |
2019-05-02 09:58 | caristu | New Issue | |
2019-05-02 09:58 | caristu | Assigned To | => Retail |
2019-05-02 09:58 | caristu | Triggers an Emergency Pack | => No |
2019-05-02 09:59 | caristu | Description Updated | View Revisions |
2019-05-02 10:00 | caristu | Description Updated | View Revisions |
2019-05-02 10:00 | caristu | Relationship added | related to 0040193 |
2019-05-02 10:03 | caristu | Proposed Solution updated | |
2019-05-02 18:03 | caristu | Assigned To | Retail => caristu |
2019-05-02 18:03 | caristu | Review Assigned To | => marvintm |
2019-05-02 18:04 | hgbot | Checkin | |
2019-05-02 18:04 | hgbot | Note Added: 0111446 | |
2019-05-02 18:04 | hgbot | Status | new => resolved |
2019-05-02 18:04 | hgbot | Resolution | open => fixed |
2019-05-02 18:04 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.copystore/rev/18296453654461a5a8a47eb824b02a801950665d [^] |
2019-05-10 12:05 | marvintm | Status | resolved => closed |
2019-05-10 12:05 | marvintm | Fixed in Version | => RR19Q3 |
Copyright © 2000 - 2009 MantisBT Group |