Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0036326 | Openbravo ERP | 00. Application dictionary | public | 2017-06-23 13:04 | 2022-02-01 08:07 | |||||||
| Reporter | aferraz | |||||||||||
| Assigned To | Triage Platform Base | |||||||||||
| Priority | normal | Severity | major | Reproducibility | have not tried | |||||||
| Status | acknowledged | Resolution | open | |||||||||
| Platform | OS | 30 | OS Version | Professional Appliance | ||||||||
| Product Version | ||||||||||||
| Target Version | Fixed in Version | |||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | ||||||||||||
| OBNetwork customer | No | |||||||||||
| Web browser | ||||||||||||
| Modules | Core | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0036326: WeldUtils not supported from @BeforeClass method in JUnit | |||||||||||
| Description | WeldUtils 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 Reproduce | Run following line from a @BeforeClass method in a JUnit test: CostAdjustmentProcess cap = WeldUtils.getInstanceFromStaticBeanManager(CostAdjustmentProcess.class); Check a NPE is raised. | |||||||||||
| Proposed Solution | ||||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| 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:04 | aferraz | OBNetwork customer | => No | |||||||||
| 2017-06-23 13:09 | aferraz | Description Updated | bug_revision_view_page.php?rev_id=15410#r15410 | |||||||||
| 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 | |||||||||
| 2022-02-01 08:07 | alostale | Assigned To | platform => Triage Platform Base | |||||||||
| There are no notes attached to this issue. |