Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031303
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2015-10-29 16:322015-11-09 09:53
ReportermalsasuaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision80777c566cb4
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToOrekaria
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031303: when receipt description is higher of 256 chars, receipt can not be imported

Descriptionin 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)
...
Steps To Reproduce. 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
Proposed Solution1- Verify that the ERP does not allow strings with length higher than 256
2- Cut the string to the higher length (256?)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0036896 closedranjith_qualiantech_com Order goes to Errors While Importing POS Data if the line description is longer than 255 characters 
related to defect 0038916 closedranjith_qualiantech_com Order goes to Errors While Importing POS Data if it is invoiced and the final description is longer than 255 characters 

-  Notes
(0081425)
ranjith_qualiantech_com (developer)
2015-11-02 12:26

Started fixing the issue as per proposed solution
(0081551)
hgbot (developer)
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 (developer)
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
---

- Issue History
Date Modified Username Field Change
2015-10-29 16:32 malsasua New Issue
2015-10-29 16:32 malsasua Assigned To => Retail
2015-10-29 16:32 malsasua Resolution time => 1448924400
2015-10-29 16:32 malsasua Triggers an Emergency Pack => No
2015-10-30 10:22 Orekaria Proposed Solution updated
2015-10-30 10:22 Orekaria Status new => acknowledged
2015-11-02 12:25 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2015-11-02 12:26 ranjith_qualiantech_com Status acknowledged => scheduled
2015-11-02 12:26 ranjith_qualiantech_com Note Added: 0081425
2015-11-06 10:57 hgbot Checkin
2015-11-06 10:57 hgbot Note Added: 0081551
2015-11-06 10:58 hgbot Checkin
2015-11-06 10:58 hgbot Note Added: 0081552
2015-11-06 10:58 hgbot Status scheduled => resolved
2015-11-06 10:58 hgbot Resolution open => fixed
2015-11-06 10:58 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/80777c566cb45c3cbc1863e9acbe1d063738a6e0 [^]
2015-11-09 09:53 Orekaria Review Assigned To => Orekaria
2015-11-09 09:53 Orekaria Status resolved => closed
2017-09-19 17:25 ngarcia Relationship added related to 0036896
2018-07-09 13:32 ngarcia Relationship added blocks 0038916
2018-07-09 17:33 ngarcia Relationship replaced related to 0038916


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker