Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036896Retail ModulesWeb POSpublic2017-09-19 17:252017-09-22 13:01
ngarcia 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR17Q4 
marvintm
No
0036896: Order goes to Errors While Importing POS Data if the line description is longer than 255 characters
Order goes to Errors While Importing POS Data if the line description is longer than 255 characters
In POS:
   Create a new ticket
   Add a product, select the line and add the following description to it:
      'prueba texto largo: 257 caracteres: 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111_fin'

   Pay it

As group admin role:
   Check the Order is in Errors While Importing POS Data window with the following error:
      org.openbravo.base.exception.OBException: Error in OrderLoader: description: Value (prueba texto largo: 257 caracteres: 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111_fin) is too long, it has length 256, the maximum allowed length is 255
    at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:499)
...
No tags attached.
related to defect 0031303 closed ranjith_qualiantech_com when receipt description is higher of 256 chars, receipt can not be imported 
related to defect 0035868 new Retail [RR17Q2] Wrong information shown in Errors While Importing POS Data window 
Issue History
2017-09-19 17:25ngarciaNew Issue
2017-09-19 17:25ngarciaAssigned To => Retail
2017-09-19 17:25ngarciaResolution time => 1507586400
2017-09-19 17:25ngarciaTriggers an Emergency Pack => No
2017-09-19 17:25ngarciaRelationship addedrelated to 0031303
2017-09-19 17:25ngarciaRelationship addedrelated to 0035868
2017-09-19 18:29eugeniIssue Monitored: eugeni
2017-09-20 09:37ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2017-09-20 09:37ranjith_qualiantech_comStatusnew => scheduled
2017-09-20 15:17hgbotCheckin
2017-09-20 15:17hgbotNote Added: 0099174
2017-09-20 15:17hgbotStatusscheduled => resolved
2017-09-20 15:17hgbotResolutionopen => fixed
2017-09-20 15:17hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eedc9a035e63a7bc4aee9037904979c7215fbc4b [^]
2017-09-20 15:24hgbotCheckin
2017-09-20 15:24hgbotNote Added: 0099175
2017-09-22 13:01marvintmReview Assigned To => marvintm
2017-09-22 13:01marvintmStatusresolved => closed
2017-09-22 13:01marvintmFixed in Version => RR17Q4

Notes
(0099174)
hgbot   
2017-09-20 15:17   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: eedc9a035e63a7bc4aee9037904979c7215fbc4b
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Sep 20 18:27:31 2017 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/eedc9a035e63a7bc4aee9037904979c7215fbc4b [^]

Fixed issue 36896 : Adding Maxlength to receiptLineProperty description field

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
M web/org.openbravo.retail.posterminal/js/components/modalreceiptlineproperties.js
---
(0099175)
hgbot   
2017-09-20 15:24   
Repository: tools/automation/pi-mobile
Changeset: f1650c713d73531477acf1dcbc275399ad1448bc
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed Sep 20 18:27:39 2017 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/f1650c713d73531477acf1dcbc275399ad1448bc [^]

Verifies issue 36896 : Added automated test 'I36896_ReceiptLinePropertyDescLength'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/ReceiptPropertiesfromtitle.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I36896_ReceiptLinePropertyDescLength.java
---