Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0036857 | Openbravo ERP | A. Platform | public | 2017-09-14 13:09 | 2017-09-15 11:35 | ||||||||||||||
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.0PR17Q4 | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | caristu | ||||||||||||||||||
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 | 0036857: having \u2028 or \u2029 characters in recent documents title makes UI to fail | ||||||||||||||||||
Description | When there is a document that includes on its identifier \u2028 or \u2029 characters, Openbravo fails to load. | ||||||||||||||||||
Steps To Reproduce | 1. Follow steps in 0036788 creating BP with name and search key with those charactres 2. Log out 3. Log in -> ERROR: Openbravo is no loaded because the generated JavaScript is not valid | ||||||||||||||||||
Proposed Solution | The problem is caused because even the JavaScript is generated using js_string in freemarker, current version (2.3.16) doesn't escape reported ones properly. This issue is fixed since 2.3.20 [1][2]. A temporary fix will be implemented until freemarked library is updated. -- [1] https://sourceforge.net/p/freemarker/bugs/390/ [^] [2] https://github.com/apache/incubator-freemarker/commit/e6daec6e63b967faea9579f63bfad333bb22e9ad [^] | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2017-09-14 13:09 | alostale | New Issue | |||||||||||||||||
2017-09-14 13:09 | alostale | Assigned To | => platform | ||||||||||||||||
2017-09-14 13:09 | alostale | OBNetwork customer | => No | ||||||||||||||||
2017-09-14 13:09 | alostale | Modules | => Core | ||||||||||||||||
2017-09-14 13:09 | alostale | Triggers an Emergency Pack | => No | ||||||||||||||||
2017-09-14 13:09 | alostale | Relationship added | related to 0036788 | ||||||||||||||||
2017-09-14 13:09 | alostale | Review Assigned To | => caristu | ||||||||||||||||
2017-09-14 13:09 | alostale | Assigned To | platform => alostale | ||||||||||||||||
2017-09-14 13:13 | alostale | Relationship added | related to 0036858 | ||||||||||||||||
2017-09-14 13:26 | hgbot | Checkin | |||||||||||||||||
2017-09-14 13:26 | hgbot | Note Added: 0099040 | |||||||||||||||||
2017-09-14 13:26 | hgbot | Status | new => resolved | ||||||||||||||||
2017-09-14 13:26 | hgbot | Resolution | open => fixed | ||||||||||||||||
2017-09-14 13:26 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/756e6fab2ecf9db6c03b93fb5e7b250a8be4bb23 [^] | ||||||||||||||||
2017-09-15 11:35 | caristu | Note Added: 0099064 | |||||||||||||||||
2017-09-15 11:35 | caristu | Status | resolved => closed | ||||||||||||||||
2017-09-15 11:35 | caristu | Fixed in Version | => 3.0PR17Q4 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|