Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040555 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2019-04-09 17:44 | 2019-08-16 13:50 | |||
Reporter | malsasua | View Status | public | |||||
Assigned To | rqueralta | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR19Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 9dcf12fdd1ae | ||||
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 | marvintm | |||||||
OBNetwork customer | Gold | |||||||
Support ticket | 9159 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040555: JS Error doing logout with draft recetip and functionality checkForDocumentNoDuplicated | |||||||
Description | when logout is done and there is one receipt in draft status, and the functionality checkForDocumentNoDuplicated is enabled, JS Error is returned: VM14538 268466f7530834bba9c9bd812d7fbb63.js:190 TypeError: Cannot read property 'allowpayoncredit' of null ... | |||||||
Steps To Reproduce | . do login . add new line . click in end session -> popup is displayed with messate: Log Out Are you sure you want to log out? Any pending tickets will be deleted. There is no undo for this action. . click in logout button JS Error is returned | |||||||
Proposed Solution | attached diff with the fix | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(0111049) malsasua (viewer) 2019-04-09 17:45 |
the complete trace of error is: VM14538 268466f7530834bba9c9bd812d7fbb63.js:190 TypeError: Cannot read property 'allowpayoncredit' of null at Object.updateCreditSalesAction (VM14538 268466f7530834bba9c9bd812d7fbb63.js:2821) at Object.<anonymous> (VM14538 268466f7530834bba9c9bd812d7fbb63.js:2819) at G.d.trigger (VM14531 backbone-0.9.2.min.js:9) at G.d.change (VM14531 backbone-0.9.2.min.js:15) at G.d.set (VM14531 backbone-0.9.2.min.js:12) at VM14538 268466f7530834bba9c9bd812d7fbb63.js:228 at Array.forEach (<anonymous>) at Function.b.each.b.forEach (VM14530 underscore-1.3.3.min.js:11) at cloneRecursively (VM14538 268466f7530834bba9c9bd812d7fbb63.js:228) at Object.OB.UTIL.clone (VM14538 268466f7530834bba9c9bd812d7fbb63.js:230); line: Object.OB.UTIL.showError (https://preprod.decathlon.in/retail_17q2/web/js/gen/268466f7530834bba9c9bd812d7fbb63.js:706:1508 [^]) (*,+) |
(0111205) hgbot (developer) 2019-04-18 01:10 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 2b7f870ebdde8eb15a6f67e25fe422e76056a690 Author: Rafael Queralta <rafaelcuba81 <at> gmail.com> Date: Sat Apr 13 16:11:48 2019 -0400 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2b7f870ebdde8eb15a6f67e25fe422e76056a690 [^] Fixed issue 40555: JS Error doing logout with draft recetip and functionality checkForDocumentNoDuplicated - Verified if terminal value was seted to prevent JS error with checkForDocumentNoDuplicated enabled. --- M web/org.openbravo.retail.posterminal/js/components/order.js M web/org.openbravo.retail.posterminal/js/pointofsale/view/payment.js M web/org.openbravo.retail.posterminal/js/pointofsale/view/toolbar-right.js --- |
(0111206) hgbot (developer) 2019-04-18 01:11 |
Repository: erp/pmods/org.openbravo.retail.sessions Changeset: 9dcf12fdd1ae2e139f96ebbfc586d94d803e3d98 Author: Rafael Queralta <rafaelcuba81 <at> gmail.com> Date: Sat Apr 13 16:14:47 2019 -0400 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/9dcf12fdd1ae2e139f96ebbfc586d94d803e3d98 [^] Fixed issue 40555: JS Error doing logout with draft recetip and functionality checkForDocumentNoDuplicated - Verified if terminal value was seted to prevent JS error with checkForDocumentNoDuplicated enabled. --- M web/org.openbravo.retail.sessions/js/components/orderdetailshook.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2019-04-09 17:44 | malsasua | New Issue | |
2019-04-09 17:44 | malsasua | Assigned To | => Retail |
2019-04-09 17:44 | malsasua | OBNetwork customer | => Gold |
2019-04-09 17:44 | malsasua | Support ticket | => 9159 |
2019-04-09 17:44 | malsasua | Resolution time | => 1556575200 |
2019-04-09 17:44 | malsasua | Triggers an Emergency Pack | => No |
2019-04-09 17:45 | malsasua | Note Added: 0111049 | |
2019-04-09 17:45 | malsasua | Proposed Solution updated | |
2019-04-09 17:46 | malsasua | File Added: issue40555.diff | |
2019-04-11 21:12 | rqueralta | Assigned To | Retail => rqueralta |
2019-04-11 21:13 | rqueralta | Status | new => scheduled |
2019-04-18 01:10 | hgbot | Checkin | |
2019-04-18 01:10 | hgbot | Note Added: 0111205 | |
2019-04-18 01:10 | hgbot | Status | scheduled => resolved |
2019-04-18 01:10 | hgbot | Resolution | open => fixed |
2019-04-18 01:10 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2b7f870ebdde8eb15a6f67e25fe422e76056a690 [^] |
2019-04-18 01:11 | hgbot | Checkin | |
2019-04-18 01:11 | hgbot | Note Added: 0111206 | |
2019-04-18 01:11 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/2b7f870ebdde8eb15a6f67e25fe422e76056a690 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/9dcf12fdd1ae2e139f96ebbfc586d94d803e3d98 [^] |
2019-05-02 18:56 | marvintm | Review Assigned To | => marvintm |
2019-05-02 18:56 | marvintm | Status | resolved => closed |
2019-05-02 18:56 | marvintm | Fixed in Version | => RR19Q3 |
2019-08-16 13:50 | ngarcia | Relationship added | related to 0040657 |
Copyright © 2000 - 2009 MantisBT Group |