Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033106Retail ModulesWeb POSpublic2016-06-01 16:102016-06-02 14:27
plujan 
ranjith_qualiantech_com 
normalminorhave not tried
closedfixed 
5
pi 
RR16Q3 
Orekaria
No
0033106: Not properly encoded minus sign ( - ) shown as "â" in the webPOS keypad
The minus sign is shown as a different letter in the main screen of webPOS
Login at VBS-1 terminal using vallblanca user and check the keypad (see attached screenshot as reference)

This issue is only happening when the server enconding is not set to UTF-8
To reproduce this issue in a properly configured server:
- log into the WebPOS
- in the chrome menu (the one on the right with 3 horizontal lines)
- » More Tools » Encoding » Western 1252 (choose any but the UTF-8)
No tags attached.
related to defect 0031300 closed mario_castello Wrong character shown in cross store window. It is shown "×" instead of "X" 
caused by defect 0032105 closed ranjith_qualiantech_com [UX] Wrong 'minus' character use in WebPOS 
png MinusSign.png (40,926) 2016-06-01 16:10
https://issues.openbravo.com/file_download.php?file_id=9466&type=bug
png

patch issue 32105 2151.patch (1,308) 2016-06-02 14:19
https://issues.openbravo.com/file_download.php?file_id=9473&type=bug
Issue History
2016-06-01 16:10plujanNew Issue
2016-06-01 16:10plujanAssigned To => Retail
2016-06-01 16:10plujanFile Added: MinusSign.png
2016-06-01 16:10plujanTriggers an Emergency Pack => No
2016-06-01 16:46OrekariaStatusnew => acknowledged
2016-06-01 16:49OrekariaRelationship addedcaused by 0032105
2016-06-02 09:45ranjith_qualiantech_comFile Added: issue 33106 mobilecore 2161.patch
2016-06-02 11:20dbazNote Added: 0086906
2016-06-02 11:42ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2016-06-02 11:42ranjith_qualiantech_comStatusacknowledged => scheduled
2016-06-02 12:45ranjith_qualiantech_comFile Deleted: issue 33106 mobilecore 2161.patch
2016-06-02 14:07OrekariaRelationship addedrelated to 0031300
2016-06-02 14:09OrekariaNote Added: 0086922
2016-06-02 14:10OrekariaNote Edited: 0086922bug_revision_view_page.php?bugnote_id=0086922#r12293
2016-06-02 14:12OrekariaNote Edited: 0086922bug_revision_view_page.php?bugnote_id=0086922#r12294
2016-06-02 14:14OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=12296#r12296
2016-06-02 14:16OrekariaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=12299#r12299
2016-06-02 14:17hgbotCheckin
2016-06-02 14:17hgbotNote Added: 0086923
2016-06-02 14:19ranjith_qualiantech_comFile Added: issue 32105 2151.patch
2016-06-02 14:25OrekariaStatusscheduled => resolved
2016-06-02 14:25OrekariaFixed in Version => RR16Q3
2016-06-02 14:25OrekariaResolutionopen => fixed
2016-06-02 14:27OrekariaReview Assigned To => Orekaria
2016-06-02 14:27OrekariaNote Added: 0086925
2016-06-02 14:27OrekariaStatusresolved => closed
2016-06-02 14:28OrekariaNote Edited: 0086925bug_revision_view_page.php?bugnote_id=0086925#r12302

Notes
(0086906)
dbaz   
2016-06-02 11:20   
The one set in the fix of the 32105 ( https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5bfd72e192293bcc82a05e76008af9db4b67971e [^] ) is the good one:

http://www.fileformat.info/info/unicode/char/2212/index.htm [^]
(0086922)
Orekaria   
2016-06-02 14:09   
(edited on: 2016-06-02 14:12)
Fix on 32105 will be backout
The keypad is a sensitive area. We do not want to make an special character substitution in that area because the server encoding was not properly set
Please read http://www.punctuationmatters.com/the-difference-between-a-dash-and-a-minus-sign/ [^] for more information
Also updated steps to be able to reproduce it in a properly configured server

(0086923)
hgbot   
2016-06-02 14:17   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 9fac360248d306640ee157d522038d9c08484929
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Jun 02 17:46:11 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9fac360248d306640ee157d522038d9c08484929 [^]

Related to issue 33106 : Backed out changeset 5bfd72e19229

---
M web/org.openbravo.mobile.core/source/component/ob-keyboard.js
---
(0086925)
Orekaria   
2016-06-02 14:27   
(edited on: 2016-06-02 14:28)
To fix the issue is required:
- the attached fix
- encoding the special character in the AD_MESSAGE and then using that character in the object (example can be found in issue 31300)