Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] 00. Application dictionarymajorhave not tried2017-06-23 13:042020-04-13 10:06
ReporteraferrazView Statuspublic 
Assigned Toplatform 
PrioritynormalResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionProfessional ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned To
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0036326: WeldUtils not supported from @BeforeClass method in JUnit

DescriptionWeldUtils not supported from @BeforeClass method in JUnit

It is possible to use WeldUtils from a @Before method but not from a @BeforeClass method.
This is because weld is initialized on the @Before method of the WeldBaseTest class.
Steps To ReproduceRun following line from a @BeforeClass method in a JUnit test:
CostAdjustmentProcess cap = WeldUtils.getInstanceFromStaticBeanManager(CostAdjustmentProcess.class);
Check a NPE is raised.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0036206 closedcollazoandy4 Cannot calculate costs if the costing rule is validated with FIFO Costing Algorithm and Backdated Transactions Fixed 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2017-06-23 13:04 aferraz New Issue
2017-06-23 13:04 aferraz Assigned To => platform
2017-06-23 13:09 aferraz Description Updated View Revisions
2017-06-23 13:37 aferraz Relationship added related to 0036206
2020-04-13 10:05 alostale Project QA => Openbravo ERP
2020-04-13 10:06 alostale Modules => Core
2020-04-13 10:06 alostale Triggers an Emergency Pack => No
2020-04-13 10:06 alostale Status new => acknowledged
2020-04-13 10:06 alostale Category Automation - General => 00. Application dictionary
2020-04-13 10:06 alostale Type defect => design defect

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker