Openbravo Issue Tracking System - Modules |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0048493 | Modules | Distribution Orders | public | 2022-01-27 14:57 | 2022-02-01 14:44 |
|
| Reporter | alostale | |
| Assigned To | Triage Omni WMS | |
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 5 | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | | |
| Merge Request Status | approved |
| Regression date | |
| Regression introduced by commit | |
| Regression level | |
| Review Assigned To | |
| Support ticket | |
| OBNetwork customer | No |
| Regression introduced in release | |
|
| Summary | 0048493: NPE executing tests if OBDOReservationTest is disabled |
| Description | If OBDOReservationTest is disabled by configuration [1], it fails with a NPE when executing it.
[1] http://wiki.openbravo.com/wiki/How_to_create_JUnit_testcases#Skipping_test_cases [^] |
| Steps To Reproduce | 1. Add org.openbravo.warehouse.advancedwarehouseoperations.distributionorders.test.OBDOReservationTest to config/disabled-tests file
2. Run the tests
-> ERROR:
org.openbravo.base.exception.OBException: java.lang.NullPointerException
at org.openbravo.warehouse.advancedwarehouseoperations.distributionorders.test.OBDOReservationTest.after(OBDOReservationTest.java:86) |
| Proposed Solution | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | | related to | design defect | 0045839 | | new | Triage Platform Base | Openbravo ERP | disabled jUnit tests execute @After method but not @Before |
|
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2022-01-27 14:57 | alostale | New Issue | |
| 2022-01-27 14:57 | alostale | Assigned To | => Triage Finance |
| 2022-01-27 14:57 | alostale | OBNetwork customer | => No |
| 2022-01-27 14:57 | alostale | Relationship added | related to 0045839 |
| 2022-01-27 15:37 | hgbot | Merge Request Status | => open |
| 2022-01-27 15:37 | hgbot | Note Added: 0134619 | |
| 2022-01-27 15:40 | martinsdan | Issue Monitored: martinsdan | |
| 2022-02-01 14:44 | hgbot | Merge Request Status | open => approved |
| 2022-02-01 14:44 | hgbot | Note Added: 0134711 | |
| 2022-02-01 14:44 | hgbot | Resolution | open => fixed |
| 2022-02-01 14:44 | hgbot | Status | new => closed |
| 2022-02-01 14:44 | hgbot | Note Added: 0134713 | |
| 2022-02-01 14:44 | hgbot | Note Added: 0134714 | |