Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0037589 | Retail Modules | Web POS | public | 2018-01-05 12:26 | 2018-01-31 12:27 | |||||||
Reporter | guilleaer | |||||||||||
Assigned To | gorka_gil | |||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | RR18Q1.1 | Fixed in Version | RR18Q2 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | guilleaer | |||||||||||
OBNetwork customer | No | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0037589: Test I35741_VerifyRemoveLinesWithServices failling with throttle patch attached | |||||||||||
Description | The execution of test I35741 having applied before the throttle patch (issue 37416) has uncovered a real issue in web POS code. This issue is easily reproducible increasing the time of the throttle from 500ms to 5000ms (small patch attached to the issue for mobile core to be applied on top of throttle patch) and increasing the time of the timeout (attached patch for posterminal) Then follow the steps why error happens? when throttleUpdateViewFunction is executed (at the end of the throttle time) the Ui component is destroyed and recreated. The piece of code inside the timeout is executed in a context which was destroyed. it creates the error. This asynchrony generated by setTimeout is wrong. | |||||||||||
Steps To Reproduce | 1. Using search tab search for bed 2. add bed to the ticket 3. in less than 5seconds select the line and press the services button 4. wait 5 seconds until the error happens | |||||||||||
Proposed Solution | Avoid set timeout or manage it properly | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=11425&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=11426&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2018-01-05 12:26 | guilleaer | New Issue | ||||||||||
2018-01-05 12:26 | guilleaer | Assigned To | => Retail | |||||||||
2018-01-05 12:26 | guilleaer | File Added: diffToReproduceThrottleIssue.diff | ||||||||||
2018-01-05 12:26 | guilleaer | OBNetwork customer | => No | |||||||||
2018-01-05 12:26 | guilleaer | Triggers an Emergency Pack | => No | |||||||||
2018-01-05 12:26 | guilleaer | File Added: diffToReproduce.diff | ||||||||||
2018-01-05 12:27 | guilleaer | Relationship added | blocks 0037416 | |||||||||
2018-01-15 13:52 | hgbot | Checkin | ||||||||||
2018-01-15 13:52 | hgbot | Note Added: 0101693 | ||||||||||
2018-01-15 13:52 | hgbot | Status | new => resolved | |||||||||
2018-01-15 13:52 | hgbot | Resolution | open => fixed | |||||||||
2018-01-15 13:52 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/be81f7a23b98e51ef870a63cad4229881ce4e0b9 [^] | |||||||||
2018-01-15 17:09 | guilleaer | Review Assigned To | => guilleaer | |||||||||
2018-01-17 13:43 | gorka_gil | Note Added: 0101753 | ||||||||||
2018-01-23 12:24 | guilleaer | Status | resolved => closed | |||||||||
2018-01-23 12:24 | guilleaer | Fixed in Version | => RR18Q2 | |||||||||
2018-01-31 12:27 | gorka_gil | Assigned To | Retail => gorka_gil |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|