Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031303Retail ModulesWeb POSpublic2015-10-29 16:322015-11-09 09:53
malsasua 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
 
Orekaria
No
0031303: when receipt description is higher of 256 chars, receipt can not be imported
in web pos, if you add one receipt description with a text higher than 256 chars, the receipt is stored in errors while importing data with the next error:
'org.openbravo.base.exception.OBException: Error in OrderLoader:
    at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:301)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:117)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:87)
...
. in web pos
 . new receipt
  . go to receipt properties:
   add description:
prueba texto largo: 257 caracteres: 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111_fin
   paid it
. go to backoffice
 . receipt is in errors while importing data window
1- Verify that the ERP does not allow strings with length higher than 256
2- Cut the string to the higher length (256?)
No tags attached.
related to defect 0036896 closed ranjith_qualiantech_com Order goes to Errors While Importing POS Data if the line description is longer than 255 characters 
related to defect 0038916 closed ranjith_qualiantech_com Order goes to Errors While Importing POS Data if it is invoiced and the final description is longer than 255 characters 
Issue History
2015-10-29 16:32malsasuaNew Issue
2015-10-29 16:32malsasuaAssigned To => Retail
2015-10-29 16:32malsasuaResolution time => 1448924400
2015-10-29 16:32malsasuaTriggers an Emergency Pack => No
2015-10-30 10:22OrekariaProposed Solution updated
2015-10-30 10:22OrekariaStatusnew => acknowledged
2015-11-02 12:25ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2015-11-02 12:26ranjith_qualiantech_comStatusacknowledged => scheduled
2015-11-02 12:26ranjith_qualiantech_comNote Added: 0081425
2015-11-06 10:57hgbotCheckin
2015-11-06 10:57hgbotNote Added: 0081551
2015-11-06 10:58hgbotCheckin
2015-11-06 10:58hgbotNote Added: 0081552
2015-11-06 10:58hgbotStatusscheduled => resolved
2015-11-06 10:58hgbotResolutionopen => fixed
2015-11-06 10:58hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/80777c566cb45c3cbc1863e9acbe1d063738a6e0 [^]
2015-11-09 09:53OrekariaReview Assigned To => Orekaria
2015-11-09 09:53OrekariaStatusresolved => closed
2017-09-19 17:25ngarciaRelationship addedrelated to 0036896
2018-07-09 13:32ngarciaRelationship addedblocks 0038916
2018-07-09 17:33ngarciaRelationship replacedrelated to 0038916

Notes
(0081425)
ranjith_qualiantech_com   
2015-11-02 12:26   
Started fixing the issue as per proposed solution
(0081551)
hgbot   
2015-11-06 10:57   
Repository: tools/automation/pi-mobile
Changeset: ee2998f154bae2e06f802478486ed3adeac2cf80
Author: Ranjith <ranjith <at> qualiantech.com>
Date: Tue Nov 03 22:38:19 2015 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/ee2998f154bae2e06f802478486ed3adeac2cf80 [^]

Verifies issue 31303: Added automated test 'I31303_ReceiptPropertyDescLength'

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/system/I31303_ReceiptPropertyDescLength.java
---
(0081552)
hgbot   
2015-11-06 10:58   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 80777c566cb45c3cbc1863e9acbe1d063738a6e0
Author: Ranjith <ranjith <at> qualiantech.com>
Date: Tue Nov 03 14:43:41 2015 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/80777c566cb45c3cbc1863e9acbe1d063738a6e0 [^]

Fixed Issue 31303 : Adding Maxlength to receiptProperty description field

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
M web/org.openbravo.retail.posterminal/js/components/modalreceiptproperties.js
---