Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0038041 | Openbravo ERP | 01. General setup | public | 2018-03-05 14:55 | 2018-03-13 17:23 |
|
Reporter | ngarcia | |
Assigned To | caristu | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR18Q2 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | Production - Confirmed Stable |
Regression date | 2017-04-12 |
Regression introduced in release | 3.0PR17Q3 |
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/c17655a6fb3ffb29cdd5d73073615ba9d60cd941 [^] |
Triggers an Emergency Pack | No |
|
Summary | 0038041: Cannot log in in the application if the log in warehouse name contains an apostrophe (') |
Description | Cannot log in in the application if the log in warehouse name contains an apostrophe (') |
Steps To Reproduce | As group admin role:
Go to Warehouse and Storage Bins window and modify the warehouse name of the login warehouse from España Región Norte to España' Región Norte
Log out and log in
Check the following error message is shown in the browser:
Uncaught SyntaxError: Unexpected identifier - https://livebuilds.openbravo.com/erp_pi_pgsql/org.openbravo.client.kernel/OBCLKER_Kernel/SessionDynamic:... [^] |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0038086 | 3.0PR18Q1.1 | closed | caristu | Cannot log in in the application if the log in warehouse name contains an apostrophe (') | depends on | backport | 0038087 | 3.0PR17Q4.2 | closed | caristu | Cannot log in in the application if the log in warehouse name contains an apostrophe (') | caused by | feature request | 0035553 | | closed | caristu | Improve scalability of the login process |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2018-03-05 14:55 | ngarcia | New Issue | |
2018-03-05 14:55 | ngarcia | Assigned To | => Triage Finance |
2018-03-05 14:55 | ngarcia | Modules | => Core |
2018-03-05 14:55 | ngarcia | Resolution time | => 1522015200 |
2018-03-05 14:55 | ngarcia | Triggers an Emergency Pack | => No |
2018-03-05 14:58 | ngarcia | Priority | urgent => immediate |
2018-03-05 16:54 | caristu | Assigned To | Triage Finance => caristu |
2018-03-05 16:57 | caristu | Regression level | => Production - Confirmed Stable |
2018-03-05 16:57 | caristu | Regression date | => 2017-04-12 |
2018-03-05 16:57 | caristu | Regression introduced in release | => 3.0PR17Q3 |
2018-03-05 16:57 | caristu | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/c17655a6fb3ffb29cdd5d73073615ba9d60cd941 [^] |
2018-03-05 16:57 | caristu | Relationship added | causes 0035553 |
2018-03-05 16:58 | caristu | Relationship deleted | causes 0035553 |
2018-03-05 16:58 | caristu | Relationship added | caused by 0035553 |
2018-03-08 19:21 | caristu | Status | new => scheduled |
2018-03-08 19:21 | caristu | Status | scheduled => acknowledged |
2018-03-08 19:23 | caristu | Status | acknowledged => scheduled |
2018-03-09 08:48 | hgbot | Checkin | |
2018-03-09 08:48 | hgbot | Note Added: 0103113 | |
2018-03-09 08:48 | hgbot | Status | scheduled => resolved |
2018-03-09 08:48 | hgbot | Resolution | open => fixed |
2018-03-09 08:48 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/3cb50b0b2a6bff2324225a49338ac0789d8e0f31 [^] |
2018-03-09 10:17 | alostale | Review Assigned To | => alostale |
2018-03-09 10:17 | alostale | Note Added: 0103116 | |
2018-03-09 10:17 | alostale | Status | resolved => closed |
2018-03-09 10:17 | alostale | Fixed in Version | => 3.0PR18Q2 |
2018-03-09 13:56 | hgbot | Checkin | |
2018-03-09 13:56 | hgbot | Note Added: 0103136 | |
2018-03-09 15:25 | hudsonbot | Checkin | |
2018-03-09 15:25 | hudsonbot | Note Added: 0103141 | |
2018-03-13 17:23 | hudsonbot | Checkin | |
2018-03-13 17:23 | hudsonbot | Note Added: 0103209 | |
Notes |
|
(0103113)
|
hgbot
|
2018-03-09 08:48
|
|
Repository: erp/devel/pi
Changeset: 3cb50b0b2a6bff2324225a49338ac0789d8e0f31
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Mar 09 08:37:05 2018 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/3cb50b0b2a6bff2324225a49338ac0789d8e0f31 [^]
fixes bug 38041: Can't login if the user profile widget data contains apostrophes
The JS object used to populate the user profile widget, was being generated without escaping the data properly which could result in a wrong object definition in case of having special characters like apostrophes (').
To fix this issue we are now using the "js_string" built-in in the .ftl in order to escape the identifiers and labels of the user profile with the escaping rules of the JS language.
---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/navigationbarcomponents/templates/user-info.js.ftl
---
|
|
|
|
|
|
(0103136)
|
hgbot
|
2018-03-09 13:56
|
|
|
|
|
|
|
|
|