Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0035076 | Openbravo ERP | A. Platform | public | 2017-01-30 09:20 | 2017-03-15 20:18 |
|
Reporter | alostale | |
Assigned To | alostale | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR17Q2 | |
Merge Request Status | |
Review Assigned To | caristu |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0035076: if test leaves admin mode, following test cases fail |
Description | If a test extending ObserverBaseTest leaves context as admin, it expectedly fails. But the subsequent test cases fail also if they don't handle this situation.
|
Steps To Reproduce | - Add attached test cases: AdminModeHandleInTest
- Execute them
-> 1st one correctly fails
-> 2nd one shouldn't fail but it does
Note this test case cannot be included in standard suite as there is no way to prevent 1st one to fail as exception is thrown by TestWatcher after test finalization. |
Proposed Solution | Following test cases shouldn't fail. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0035075 | | closed | alostale | PersistanceObserver can fail if other observers for OrderLine are present |
|
Attached Files | AdminModeHandleInTest.java (543) 2017-01-30 09:21 https://issues.openbravo.com/file_download.php?file_id=10353&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2017-01-30 09:20 | alostale | New Issue | |
2017-01-30 09:20 | alostale | Assigned To | => platform |
2017-01-30 09:20 | alostale | Modules | => Core |
2017-01-30 09:20 | alostale | Triggers an Emergency Pack | => No |
2017-01-30 09:20 | alostale | Relationship added | related to 0035075 |
2017-01-30 09:20 | alostale | Review Assigned To | => caristu |
2017-01-30 09:20 | alostale | Assigned To | platform => alostale |
2017-01-30 09:21 | alostale | File Added: AdminModeHandleInTest.java | |
2017-01-30 09:24 | hgbot | Checkin | |
2017-01-30 09:24 | hgbot | Note Added: 0093915 | |
2017-01-30 09:24 | hgbot | Status | new => resolved |
2017-01-30 09:24 | hgbot | Resolution | open => fixed |
2017-01-30 09:24 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a9768873924713fa9ae1a2fd704c766a97f70b1d [^] |
2017-01-30 11:03 | caristu | Note Added: 0093923 | |
2017-01-30 11:03 | caristu | Status | resolved => closed |
2017-01-30 11:03 | caristu | Fixed in Version | => 3.0PR17Q2 |
2017-03-15 20:18 | hudsonbot | Checkin | |
2017-03-15 20:18 | hudsonbot | Note Added: 0095136 | |