Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0033204 | Openbravo ERP | A. Platform | public | 2016-06-09 11:21 | 2016-06-17 19:38 |
|
Reporter | caristu | |
Assigned To | caristu | |
Priority | immediate | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR16Q3 | Fixed in Version | 3.0PR16Q3 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | Pre packaging ( pi ) |
Regression date | 2016-04-13 |
Regression introduced in release | pi |
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/4bc26a30e2966fc212fa9b336a9e36f4e1a042c6 [^] |
Triggers an Emergency Pack | No |
|
Summary | 0033204: Javascript error appears in console after opening a window with a saved view |
Description | Javascript error appears in console after opening a window with a saved view.
The error is reproducible when the grid view definition has the filterClause attribute set to true |
Steps To Reproduce | 1) Go to the [Sales Order] window and create a new saved view. Set it as default.
2) Close the window
3) Re-open it again. The following error appears in dev console: "Uncaught TypeError: strValue.replace is not a function" |
Proposed Solution | After the following changeset[1], the filterClause is a boolean value. But in the following line[2] of ob-view-grid, it still expects a string. The error is thrown when the passed value to OB.Utilities.isNonEmptyString is equal to true.
[1] https://code.openbravo.com/erp/devel/pi/rev/d239cb280bb9 [^]
[2] https://code.openbravo.com/erp/devel/pi/file/ed44288c1e71/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js#l1122 [^] |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0032815 | 3.0PR16Q3 | closed | caristu | Direct link to documents in the workspace is not working | related to | defect | 0025033 | | closed | AugustoMauch | Removing the filter show refresh the window if the window was openend with the default filter clause | caused by | feature request | 0032610 | 3.0PR16Q3 | closed | NaroaIriarte | standard datasources shouldn't accept where parameter by default |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2016-06-09 11:21 | caristu | New Issue | |
2016-06-09 11:21 | caristu | Assigned To | => platform |
2016-06-09 11:21 | caristu | Modules | => Core |
2016-06-09 11:21 | caristu | Regression level | => Pre packaging ( pi ) |
2016-06-09 11:21 | caristu | Regression date | => 2016-04-13 |
2016-06-09 11:21 | caristu | Regression introduced in release | => pi |
2016-06-09 11:21 | caristu | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/4bc26a30e2966fc212fa9b336a9e36f4e1a042c6 [^] |
2016-06-09 11:21 | caristu | Triggers an Emergency Pack | => No |
2016-06-09 11:23 | caristu | Relationship added | caused by 0032610 |
2016-06-09 11:27 | caristu | Relationship added | related to 0032815 |
2016-06-09 11:30 | caristu | Proposed Solution updated | |
2016-06-09 11:30 | caristu | Proposed Solution updated | |
2016-06-10 12:43 | caristu | Assigned To | platform => caristu |
2016-06-10 12:43 | caristu | Status | new => scheduled |
2016-06-10 12:44 | caristu | Target Version | => 3.0PR16Q3 |
2016-06-13 11:34 | caristu | Relationship added | related to 0025033 |
2016-06-13 12:05 | hgbot | Checkin | |
2016-06-13 12:05 | hgbot | Note Added: 0087195 | |
2016-06-13 12:05 | hgbot | Status | scheduled => resolved |
2016-06-13 12:05 | hgbot | Resolution | open => fixed |
2016-06-13 12:05 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/36db2944c9926ac8cb35ba6f538d571053ec5f91 [^] |
2016-06-13 12:28 | caristu | Note Edited: 0087195 | bug_revision_view_page.php?bugnote_id=0087195#r12354 |
2016-06-14 08:42 | caristu | Note Added: 0087221 | |
2016-06-17 08:24 | alostale | Review Assigned To | => alostale |
2016-06-17 08:24 | alostale | Note Added: 0087374 | |
2016-06-17 08:24 | alostale | Status | resolved => closed |
2016-06-17 08:24 | alostale | Fixed in Version | => 3.0PR16Q3 |
2016-06-17 19:38 | hudsonbot | Checkin | |
2016-06-17 19:38 | hudsonbot | Note Added: 0087607 | |