Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0035088 | Openbravo ERP | A. Platform | public | 2017-01-30 17:43 | 2017-02-17 07:36 | |||||||
Reporter | shuehner | |||||||||||
Assigned To | shuehner | |||||||||||
Priority | high | 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 | alostale | |||||||||||
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 | 0035088: Make 2 junit tests more robust against c_country.name being translated directly (not using _trl table) | |||||||||||
Description | WebPOS currently cannot c_country translation from c_country_trl table. That means in some customer project c_country.name values are directly modified in the base table. 2 Junit tests currently assume fixed constant names to find some test-data. Those should be changed to not rely on unmodified name. For example iso-code 2 letter is another unique column which can be used instead. | |||||||||||
Steps To Reproduce | Check output of job mod-but-qa modules testing job which has a template or dataset installed doing direct c_country.name edits. See that 2 platform junit test fail to find their data: - org.openbravo.test.xml.UniqueConstraintImportTest - org.openbravo.test.webservice.JSONWebServicesWhereParameter.WebserviceWithWhereParameter | |||||||||||
Proposed Solution | Change both test to search by iso-code and not using directly or indirectly the name field. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=10357&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=10358&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-01-30 17:43 | shuehner | New Issue | ||||||||||
2017-01-30 17:43 | shuehner | Assigned To | => platform | |||||||||
2017-01-30 17:43 | shuehner | OBNetwork customer | => No | |||||||||
2017-01-30 17:43 | shuehner | Modules | => Core | |||||||||
2017-01-30 17:43 | shuehner | Triggers an Emergency Pack | => No | |||||||||
2017-01-30 17:44 | shuehner | File Added: 35088-part1.diff | ||||||||||
2017-01-30 17:51 | shuehner | File Added: 35088-part2.diff | ||||||||||
2017-01-30 18:09 | shuehner | Relationship added | related to 0035090 | |||||||||
2017-01-30 20:00 | shuehner | Assigned To | platform => shuehner | |||||||||
2017-01-30 20:00 | shuehner | Review Assigned To | => alostale | |||||||||
2017-01-30 20:05 | hgbot | Checkin | ||||||||||
2017-01-30 20:05 | hgbot | Note Added: 0093948 | ||||||||||
2017-01-30 20:05 | hgbot | Status | new => resolved | |||||||||
2017-01-30 20:05 | hgbot | Resolution | open => fixed | |||||||||
2017-01-30 20:05 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/dbfa5e0628c0b4ae39f6e2fdce9fc01e83f463e2 [^] | |||||||||
2017-02-17 07:36 | alostale | Note Added: 0094430 | ||||||||||
2017-02-17 07:36 | alostale | Status | resolved => closed | |||||||||
2017-02-17 07:36 | alostale | Fixed in Version | => 3.0PR17Q2 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|