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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040739
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Copy Retail Storeminorhave not tried2019-05-02 09:582019-05-10 12:05
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PriorityhighResolutionfixedFixed in VersionRR19Q3
StatusclosedFix in branchFixed in SCM revision182964536544
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040739: BlankProperties should not be annotated with @ApplicationScoped

DescriptionThe 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 ReproduceIn description
Proposed SolutionRemove 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 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0040193 closedcaristu Openbravo ERP upgrade Weld to version 3.1.0.Final 

-  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
Powered by Mantis Bugtracker