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

View Revisions: Issue #40739 All Revisions ] Back to Issue ]
Summary 0040739: BlankProperties should not be annotated with @ApplicationScoped
Revision 2019-05-02 10:00 by caristu
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 [^]
Revision 2019-05-02 09:59 by caristu
Description The BlankProperties class is annotated with the @ApplicationScoped. Note that this has no effect as the scope annotations 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 [^]
Revision 2019-05-02 09:58 by caristu
Description The BlankProperties class is annotated with the @ApplicationScoped. Note that this has no effect as the scope annotations has no effect on interfaces.


Besides, because of this reason, the following warning may appear in the Openbravo log:

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 [^]


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker