Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0043197Openbravo ERPA. Platformpublic2020-02-12 11:582020-02-21 08:09
kchoperena 
caristu 
normalminoralways
closedfixed 
5
 
3.0PR20Q2 
alostale
Core
No
0043197: OBServletContextMock is not initializing the DefaultDesignPath parameter
It is impossible to get the default design path in an automated test using the OBServletContextMock because of the parameter DefaultDesignPath is not initialized.
Run the attached automated test.
Added the DefaultDesignPath parameter initialization in OBServletContextMock class. See the attached diff
No tags attached.
diff OBServletContextMock.diff (687) 2020-02-12 11:58
https://issues.openbravo.com/file_download.php?file_id=14026&type=bug
diff TestWeldDefaultDesignPath.diff (2,092) 2020-02-12 12:25
https://issues.openbravo.com/file_download.php?file_id=14027&type=bug
Issue History
2020-02-12 11:58kchoperenaNew Issue
2020-02-12 11:58kchoperenaAssigned To => platform
2020-02-12 11:58kchoperenaFile Added: OBServletContextMock.diff
2020-02-12 11:58kchoperenaModules => Core
2020-02-12 11:58kchoperenaResolution time => 1582671600
2020-02-12 11:58kchoperenaTriggers an Emergency Pack => No
2020-02-12 12:25kchoperenaFile Added: TestWeldDefaultDesignPath.diff
2020-02-12 16:01caristuAssigned Toplatform => caristu
2020-02-12 19:37caristuNote Added: 0117710
2020-02-14 11:00hgbotCheckin
2020-02-14 11:00hgbotNote Added: 0117793
2020-02-14 11:00hgbotStatusnew => resolved
2020-02-14 11:00hgbotResolutionopen => fixed
2020-02-14 11:00hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/13f7aa1af92bc01d02095a2dc36d41245c44e470 [^]
2020-02-21 08:09alostaleReview Assigned To => alostale
2020-02-21 08:09alostaleNote Added: 0117994
2020-02-21 08:09alostaleStatusresolved => closed
2020-02-21 08:09alostaleFixed in Version => 3.0PR20Q2

Notes
(0117710)
caristu   
2020-02-12 19:37   
MR: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/44 [^]
(0117793)
hgbot   
2020-02-14 11:00   
Repository: erp/devel/pi
Changeset: 13f7aa1af92bc01d02095a2dc36d41245c44e470
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed Feb 12 19:30:02 2020 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/13f7aa1af92bc01d02095a2dc36d41245c44e470 [^]

fixes BUG-43197: set DefaultDesignPath parameter in OBServletContextMock

  Set the DefaultDesignPath in the OBServletContextMock so that some
methods that retrieves it can be used in the testing infrastructure. For
example: ReportingUtils.getBaseDesign()

---
M src-test/src/org/openbravo/test/base/mock/OBServletContextMock.java
---
(0117994)
alostale   
2020-02-21 08:09   
reviewed