Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0044995 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | have not tried | 2020-09-04 16:28 | 2021-01-30 09:14 | |||
Reporter | jarmendariz | View Status | public | |||||
Assigned To | Retail | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | caristu | |||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0125894) caristu (manager) 2021-01-30 09:14 |
This issue does no longer apply after the print refactor project (see 0045634) |
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 | View Revisions |
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 |
Copyright © 2000 - 2009 MantisBT Group |