Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0044995 | Retail Modules | Web POS | public | 2020-09-04 16:28 | 2021-01-30 09:14 |
|
Reporter | jarmendariz | |
Assigned To | Retail | |
Priority | high | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | caristu |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0044995: Review doPrint promise to find non-returned return points |
Description | As a fix of issue 0044909, we found that not returning the function after executing the resolve() callback could lead to unexpected behavior. It would be convenient to review other flows of the "PrintReceipt.prototype.doPrint" function to find out if there are other missing points to return the execution.
We have identified at least one place where "return resolve();" should be done instead of just "resolve();": https://gitlab.com/openbravo/projects/retail/pmods/org.openbravo.retail.posterminal/-/blob/master/web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js#L212 [^]
|
Steps To Reproduce | See above |
Proposed Solution | Do "return resolve();" instead of just "resolve();" where needed. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0044909 | pi | closed | prakashmurugesan88 | XML template is printed when the cancel operation is set to true | related to | feature request | 0045634 | | closed | Retail | Reimplement printing infrastructure |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2020-09-04 16:28 | jarmendariz | New Issue | |
2020-09-04 16:28 | jarmendariz | Assigned To | => jarmendariz |
2020-09-04 16:28 | jarmendariz | Triggers an Emergency Pack | => No |
2020-09-04 16:29 | jarmendariz | Relationship added | related to 0044909 |
2020-09-07 08:56 | jarmendariz | Status | new => scheduled |
2020-09-16 10:31 | caristu | Assigned To | jarmendariz => Retail |
2020-09-16 10:31 | caristu | Status | scheduled => acknowledged |
2020-09-16 10:35 | caristu | Description Updated | bug_revision_view_page.php?rev_id=21688#r21688 |
2020-09-16 10:35 | caristu | Proposed Solution updated | |
2020-09-16 10:36 | caristu | Status | acknowledged => scheduled |
2020-09-16 10:36 | caristu | Status | scheduled => resolved |
2020-09-16 10:36 | caristu | Resolution | open => fixed |
2020-09-16 10:36 | caristu | Status | resolved => new |
2020-09-16 10:36 | caristu | Resolution | fixed => open |
2021-01-18 12:13 | caristu | Relationship added | related to 0045634 |
2021-01-30 09:14 | caristu | Review Assigned To | => caristu |
2021-01-30 09:14 | caristu | Note Added: 0125894 | |
2021-01-30 09:14 | caristu | Status | new => closed |
2021-01-30 09:14 | caristu | Resolution | open => fixed |