Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0039222 | Retail Modules | Web POS | public | 2018-09-04 11:58 | 2018-10-23 11:47 |
Reporter | aaroncalero | ||||
Assigned To | rqueralta | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | RR18Q4 | |||
Merge Request Status | |||||
Review Assigned To | marvintm | ||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0039222: Check Number field in Digital Coupons popup doesn't have a max-length defined | ||||
Description | Check Number field in Digital Coupons popup doesn't have a max-length defined, however the field in the database has a maximum length of 40 characters. If a user creates a digital coupon with a check number of more than 40 characters, an error is raised in the OrderLoader and the ticket is not saved. | ||||
Steps To Reproduce | Login in an environment with Digital Coupons installed (i.e. https://livebuilds.openbravo.com/retail_modules_pgsql_pi/web/org.openbravo.retail.posterminal/?terminal=YS-11#retail.pointofsale [^]) Create a new ticket. Add any product. Click on the Total Amount button to go to the payment tab. Select the Digital Coupons payment method and create the following coupon: *Issuing Company: 275281 - Restaurant Check *Check number: 0123456789012345678901234567890123456789a (41 characters) *Amount: enough to pay the ticket *Expiration Date: Leave the default Click on Add to add the digital coupon. Complete the order by clicking on Done. Verify that the order has ended in the Errors while importing POS Data window, with the following error: org.openbravo.base.validation.ValidationException: checkno: Value (0123456789012345678901234567890123456789a) is too long, it has length 41, the maximum allowed length is 40 | ||||
Proposed Solution | Add a maxLength attribute to the Check Number component | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2018-09-04 11:58 | aaroncalero | New Issue | |||
2018-09-04 11:58 | aaroncalero | Assigned To | => Retail | ||
2018-09-04 11:58 | aaroncalero | Resolution time | => 1537221600 | ||
2018-09-04 11:58 | aaroncalero | Triggers an Emergency Pack | => No | ||
2018-09-04 12:03 | aaroncalero | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=17594#r17594 | ||
2018-09-04 14:23 | rqueralta | Assigned To | Retail => rqueralta | ||
2018-09-04 14:23 | rqueralta | Status | new => scheduled | ||
2018-09-13 16:19 | marvintm | Note Added: 0106750 | |||
2018-09-13 16:19 | marvintm | Status | scheduled => resolved | ||
2018-09-13 16:19 | marvintm | Fixed in Version | => RR18Q4 | ||
2018-09-13 16:19 | marvintm | Resolution | open => fixed | ||
2018-09-14 11:32 | marvintm | Review Assigned To | => marvintm | ||
2018-09-14 11:32 | marvintm | Status | resolved => closed | ||
2018-10-22 19:23 | hgbot | Checkin | |||
2018-10-22 19:23 | hgbot | Note Added: 0107506 | |||
2018-10-23 11:47 | hgbot | Checkin | |||
2018-10-23 11:47 | hgbot | Note Added: 0107526 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|