Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 01. General setupmajoralways2018-03-05 14:552018-03-09 10:18
ReporterngarciaView Statuspublic 
Assigned Tocaristu 
PriorityimmediateResolutionfixedFixed in Version3.0PR17Q4.2
StatusclosedFix in branchFixed in SCM revisiona74d000cdf46
ProjectionnoneETAnoneTarget Version3.0PR17Q4.2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toalostale
Web browser
Regression levelProduction - Confirmed Stable
Regression date2017-04-12
Regression introduced in release3.0PR17Q3
Regression introduced by commit [^]
Triggers an Emergency PackNo

0038087: Cannot log in in the application if the log in warehouse name contains an apostrophe (')

DescriptionCannot log in in the application if the log in warehouse name contains an apostrophe (')
Steps To ReproduceAs 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 - [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0038041 closedcaristu Cannot log in in the application if the log in warehouse name contains an apostrophe (') 

-  Notes
hgbot (developer)
2018-03-09 08:50

Repository: erp/backports/3.0PR17Q4.2
Changeset: a74d000cdf46dc4d671773b7152ff768e874d98e
Author: Carlos Aristu <carlos.aristu <at>>
Date: Fri Mar 09 08:37:05 2018 +0100
URL: [^]

fixes bug 38087: 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
alostale (developer)
2018-03-09 10:18

reviewed + tested

- Issue History
Date Modified Username Field Change
2018-03-08 19:23 caristu Type defect => backport
2018-03-08 19:23 caristu Target Version => 3.0PR17Q4.2
2018-03-09 08:50 hgbot Checkin
2018-03-09 08:50 hgbot Note Added: 0103114
2018-03-09 08:50 hgbot Status scheduled => resolved
2018-03-09 08:50 hgbot Resolution open => fixed
2018-03-09 08:50 hgbot Fixed in SCM revision => [^]
2018-03-09 10:18 alostale Review Assigned To => alostale
2018-03-09 10:18 alostale Note Added: 0103117
2018-03-09 10:18 alostale Status resolved => closed
2018-03-09 10:18 alostale Fixed in Version => 3.0PR17Q4.2

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker