Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037590 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | minor | always | 2018-01-05 12:29 | 2018-02-02 16:08 | |||
Reporter | umartirena | View Status | public | |||||
Assigned To | jorge-garcia | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | RR18Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 9761635384fc | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | migueldejuana | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0037590: Use Credit button raises a Javascript error if Credit Limit is exceeded | |||||||
Description | Use Credit button raises a Javascript error if Credit Limit is exceeded. d0df6bbab747b9de4462f1736c21b0c8.js:3182 TypeError: Cannot read property 'dispatchTarget' of undefined at Object.focus (enyo.js:3723) at https://livebuilds.openbravo.com/retail_pi_pgsql/web/js/gen/d0df6bbab747b9de4462f1736c21b0c8.js:9678:20; [^] line: Object.OB.UTIL.showError (d0df6bbab747b9de4462f1736c21b0c8.js:12080) (*,+) processConsoleLevel @ d0df6bbab747b9de4462f1736c21b0c8.js:3182 enyo.js:3723 Uncaught TypeError: Cannot read property 'dispatchTarget' of undefined at Object.focus (enyo.js:3723) at d0df6bbab747b9de4462f1736c21b0c8.js:9678 | |||||||
Steps To Reproduce | In Livebuilds ERP: * Open Business partner window and set Credit Line Limit 100.00 to "Arturo Montoro" business partner. * In Pos Terminal Type window open "VBS POS Terminal Type" and check "Allow Pay on Credit" option. Log in Web POS: https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^] * Set "Arturo Montoro" as Customer. * Add lines with amount greater than 100.00 * Go to Payment tab and click on "Use Credit" button. * The javascript error is raised. | |||||||
Proposed Solution | See attached patch | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(0101710) hgbot (developer) 2018-01-15 17:42 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 9761635384fc2c5766e8364bd04eebd85c5abde6 Author: Jorge Garcia <jorge.garcia <at> openbravo.com> Date: Mon Jan 15 11:42:16 2018 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9761635384fc2c5766e8364bd04eebd85c5abde6 [^] Fixed issue 37590: Use Credit button raises a Javascript error if Credit Limit is exceeded Changed popup defintion to be a ModalAction instead of a ModalInfo. Implement required logic for confirmation button. --- M web/org.openbravo.retail.posterminal/js/pointofsale/view/modals/modalcreditsales.js --- |
(0101916) migueldejuana (viewer) 2018-01-23 16:22 |
Tested and reviewed |
(0102156) hgbot (developer) 2018-02-02 16:08 |
Repository: tools/automation/pi-mobile Changeset: 6bfaa49498d79ad8da63f117ed2bcbd4e73d4109 Author: Alejandro <alekosmp86 <at> gmail.com> Date: Wed Jan 24 13:47:48 2018 -0500 URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/6bfaa49498d79ad8da63f117ed2bcbd4e73d4109 [^] Verifies issue 37590: Added automated test 'I37590_VerifyJSErrorOnCreditPayment' --- M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I37590_VerifyJSErrorOnCreditPayment.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2018-01-05 12:29 | umartirena | New Issue | |
2018-01-05 12:29 | umartirena | Assigned To | => Retail |
2018-01-05 12:29 | umartirena | OBNetwork customer | => No |
2018-01-05 12:29 | umartirena | Triggers an Emergency Pack | => No |
2018-01-05 12:29 | umartirena | OBNetwork customer | No => Yes |
2018-01-05 12:30 | umartirena | Proposed Solution updated | |
2018-01-05 12:31 | umartirena | File Added: issue37590.diff | |
2018-01-05 12:34 | umartirena | File Added: Selection_122.png | |
2018-01-15 11:51 | jorge-garcia | Status | new => scheduled |
2018-01-15 11:51 | jorge-garcia | Assigned To | Retail => jorge-garcia |
2018-01-15 17:42 | hgbot | Checkin | |
2018-01-15 17:42 | hgbot | Note Added: 0101710 | |
2018-01-15 17:42 | hgbot | Status | scheduled => resolved |
2018-01-15 17:42 | hgbot | Resolution | open => fixed |
2018-01-15 17:42 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9761635384fc2c5766e8364bd04eebd85c5abde6 [^] |
2018-01-23 16:22 | migueldejuana | Review Assigned To | => migueldejuana |
2018-01-23 16:22 | migueldejuana | Note Added: 0101916 | |
2018-01-23 16:22 | migueldejuana | Status | resolved => closed |
2018-01-23 16:22 | migueldejuana | Fixed in Version | => RR18Q2 |
2018-02-02 16:08 | hgbot | Checkin | |
2018-02-02 16:08 | hgbot | Note Added: 0102156 | |
2018-02-05 11:14 | marvintm | Relationship added | has duplicate 0037784 |
Copyright © 2000 - 2009 MantisBT Group |