Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038041Openbravo ERP01. General setuppublic2018-03-05 14:552018-03-13 17:23
ngarcia 
caristu 
immediatemajoralways
closedfixed 
5
 
3.0PR18Q2 
alostale
Core
Production - Confirmed Stable
2017-04-12
3.0PR17Q3
https://code.openbravo.com/erp/devel/pi/rev/c17655a6fb3ffb29cdd5d73073615ba9d60cd941 [^]
No
0038041: Cannot log in in the application if the log in warehouse name contains an apostrophe (')
Cannot log in in the application if the log in warehouse name contains an apostrophe (')
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:... [^]
No tags attached.
depends on backport 00380863.0PR18Q1.1 closed caristu Cannot log in in the application if the log in warehouse name contains an apostrophe (') 
depends on backport 00380873.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 
Issue History
2018-03-05 14:55ngarciaNew Issue
2018-03-05 14:55ngarciaAssigned To => Triage Finance
2018-03-05 14:55ngarciaModules => Core
2018-03-05 14:55ngarciaResolution time => 1522015200
2018-03-05 14:55ngarciaTriggers an Emergency Pack => No
2018-03-05 14:58ngarciaPriorityurgent => immediate
2018-03-05 16:54caristuAssigned ToTriage Finance => caristu
2018-03-05 16:57caristuRegression level => Production - Confirmed Stable
2018-03-05 16:57caristuRegression date => 2017-04-12
2018-03-05 16:57caristuRegression introduced in release => 3.0PR17Q3
2018-03-05 16:57caristuRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/c17655a6fb3ffb29cdd5d73073615ba9d60cd941 [^]
2018-03-05 16:57caristuRelationship addedcauses 0035553
2018-03-05 16:58caristuRelationship deletedcauses 0035553
2018-03-05 16:58caristuRelationship addedcaused by 0035553
2018-03-08 19:21caristuStatusnew => scheduled
2018-03-08 19:21caristuStatusscheduled => acknowledged
2018-03-08 19:23caristuStatusacknowledged => scheduled
2018-03-09 08:48hgbotCheckin
2018-03-09 08:48hgbotNote Added: 0103113
2018-03-09 08:48hgbotStatusscheduled => resolved
2018-03-09 08:48hgbotResolutionopen => fixed
2018-03-09 08:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3cb50b0b2a6bff2324225a49338ac0789d8e0f31 [^]
2018-03-09 10:17alostaleReview Assigned To => alostale
2018-03-09 10:17alostaleNote Added: 0103116
2018-03-09 10:17alostaleStatusresolved => closed
2018-03-09 10:17alostaleFixed in Version => 3.0PR18Q2
2018-03-09 13:56hgbotCheckin
2018-03-09 13:56hgbotNote Added: 0103136
2018-03-09 15:25hudsonbotCheckin
2018-03-09 15:25hudsonbotNote Added: 0103141
2018-03-13 17:23hudsonbotCheckin
2018-03-13 17:23hudsonbotNote 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
---
(0103116)
alostale   
2018-03-09 10:17   
reviewed + tested
(0103136)
hgbot   
2018-03-09 13:56   
Repository: erp/devel/pi
Changeset: 75ffdc8078c1d21f977300e8acf57ce3f059b158
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Mar 09 13:53:24 2018 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/75ffdc8078c1d21f977300e8acf57ce3f059b158 [^]

related to issue 38041: added testing infrastructure

---
M src-test/src/org/openbravo/test/security/UserInfoSessionDataTest.java
---
(0103141)
hudsonbot   
2018-03-09 15:25   
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/ba66b7d07a7b [^]
Maturity status: Test
(0103209)
hudsonbot   
2018-03-13 17:23   
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/1d3ccc92fab6 [^]
Maturity status: Test