Openbravo Issue Tracking System - Retail Modules
View Issue Details
0042805Retail ModulesWeb POSpublic2020-01-10 14:372020-01-17 14:51
ngarcia 
rqueralta 
urgentmajoralways
closedfixed 
5
 
RR20Q2 
marvintm
No
0042805: POS Keyboard should allow more than 20 characters
POS Keyboard should allow more than 20 characters

There could be coupons longer than 20 characters

The limit is hardcoded in modules/org.openbravo.mobile.core/web/org.openbravo.mobile.core/source/component/ob-keyboard.js:

    if (contentLength >= 20 && character !== 'del') {
      OB.UTIL.showError(OB.I18N.getLabel('OBMOBC_ErrorMaxNumber'));
      return;
    }

In the POS:
   Select UPC/EAN
   Introduce more than 20 characters
   Check the following error message is shown:
      "You have reached the maximum number of digits (20)"
   The number is cut to 20 characters
No tags attached.
Issue History
2020-01-10 14:37ngarciaNew Issue
2020-01-10 14:37ngarciaAssigned To => Retail
2020-01-10 14:37ngarciaResolution time => 1580425200
2020-01-10 14:37ngarciaTriggers an Emergency Pack => No
2020-01-10 14:37ngarciaIssue Monitored: networkb
2020-01-10 14:41ngarciaDescription Updatedbug_revision_view_page.php?rev_id=20079#r20079
2020-01-12 18:05rqueraltaAssigned ToRetail => rqueralta
2020-01-12 18:06rqueraltaStatusnew => scheduled
2020-01-16 21:08hgbotCheckin
2020-01-16 21:08hgbotNote Added: 0116950
2020-01-16 21:08hgbotStatusscheduled => resolved
2020-01-16 21:08hgbotResolutionopen => fixed
2020-01-16 21:08hgbotFixed in SCM revision => http://code.openbravo.com/tools/automation/pi-mobile/rev/94ce60c6359caf12759c5c928713305cf581a10b [^]
2020-01-16 21:09hgbotCheckin
2020-01-16 21:09hgbotNote Added: 0116951
2020-01-16 21:09hgbotFixed in SCM revisionhttp://code.openbravo.com/tools/automation/pi-mobile/rev/94ce60c6359caf12759c5c928713305cf581a10b [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/fa5c5cfef1ede3e88e742f90f08ea5a5ff98b69d [^]
2020-01-17 14:51marvintmReview Assigned To => marvintm
2020-01-17 14:51marvintmStatusresolved => closed
2020-01-17 14:51marvintmFixed in Version => RR20Q2

Notes
(0116950)
hgbot   
2020-01-16 21:08   
Repository: tools/automation/pi-mobile
Changeset: 94ce60c6359caf12759c5c928713305cf581a10b
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Thu Jan 16 15:07:51 2020 -0500
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/94ce60c6359caf12759c5c928713305cf581a10b [^]

Fixed issue 42805: POS Keyboard should allow more than 20 characters

- Delete I23951_Max20KeyStrokes test because was removed the content hardcode
limit

---
R src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I23951_Max20KeyStrokes.java
---
(0116951)
hgbot   
2020-01-16 21:09   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: fa5c5cfef1ede3e88e742f90f08ea5a5ff98b69d
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Mon Jan 13 11:35:17 2020 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/fa5c5cfef1ede3e88e742f90f08ea5a5ff98b69d [^]

Fixed issue 42805: POS Keyboard should allow more than 20 characters

- Removed the content hardcode limit

---
M web/org.openbravo.mobile.core/source/component/ob-keyboard.js
---