Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0033204 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | always | 2016-06-09 11:21 | 2016-06-17 19:38 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | caristu | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR16Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 36db2944c992 | ||||
Projection | none | ETA | none | Target Version | 3.0PR16Q3 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | alostale | |||||||
Web browser | ||||||||
Modules | Core | |||||||
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 [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||||
|
Notes | |
(0087195) hgbot (developer) 2016-06-13 12:05 edited on: 2016-06-13 12:28 |
Repository: erp/devel/pi Changeset: 36db2944c9926ac8cb35ba6f538d571053ec5f91 Author: Carlos Aristu <carlos.aristu <at> openbravo.com> Date: Mon Jun 13 12:04:17 2016 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/36db2944c9926ac8cb35ba6f538d571053ec5f91 [^] fixes issue 33204: Javascript error after opening a window with a saved view Since this changeset[1], filterClause is no longer a string but a boolean. So the check done on the setViewState method of ob-view-grid has been fixed accordingly [1] https://code.openbravo.com/erp/devel/pi/rev/4bc26a30e2966fc212fa9b336a9e36f4e1a042c6 [^] --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js --- |
(0087221) caristu (developer) 2016-06-14 08:42 |
TestLink: https://testlink.openbravo.com/testlink/linkto.php?tprojectPrefix=Communit&item=testcase&id=Communit-10033 [^] |
(0087374) alostale (manager) 2016-06-17 08:24 |
code reviewed + tested |
(0087607) hudsonbot (developer) 2016-06-17 19:38 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/0dc7be081b1c [^] Maturity status: Test |
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 | View Revisions |
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 |
Copyright © 2000 - 2009 MantisBT Group |