Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0036906 | Retail Modules | Web POS | public | 2017-09-20 17:49 | 2017-10-26 13:02 |
Reporter | adrianromero | ||||
Assigned To | guilleaer | ||||
Priority | urgent | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | RR18Q1 | Fixed in Version | RR18Q1 | ||
Merge Request Status | |||||
Review Assigned To | marvintm | ||||
OBNetwork customer | No | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0036906: [SCO][Contribution] Approval dialog content is created every time the dialog is displayed but never destroyed | ||||
Description | When displaying the approval dialog the body is created as a new enyo component every time. This means a memory leak of all previous approval bodies attached to the DOM but hidden. This is also problematic not only for the memory leak but also in tests because the testIDs of all enyo compoments in the approval body change every time the approval dialog is displayed making it impossible to make a single test with more than one approval without doing awful things like reloading the page. | ||||
Steps To Reproduce | * Configure the approval to delete the receipt * Login in Web POS and force to display the approval dialog several times * Open the Chrome developer tools * Execute in the console TestRegistry.appendIdTestToDOM() * go to the DOM and search for confirmationContainer_approval * Observe that as son of the confirmation container dialog "confirmationContainer" there are serveral sons only one displayed an the rest hidden forever. | ||||
Proposed Solution | See the attached patches Take into account that the attached patch in mobile.core, modify the testIDs of approval compoments. There is attached also the pi-mobile patch that fixes these approval IDs | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=11083&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=11084&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=11136&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2017-09-20 17:49 | adrianromero | New Issue | |||
2017-09-20 17:49 | adrianromero | Assigned To | => Retail | ||
2017-09-20 17:49 | adrianromero | OBNetwork customer | => No | ||
2017-09-20 17:49 | adrianromero | Triggers an Emergency Pack | => No | ||
2017-09-20 18:00 | adrianromero | File Added: 32906-mobilecore.export | |||
2017-09-20 18:01 | adrianromero | File Added: 36906-pimobile.export | |||
2017-09-20 18:14 | guilleaer | Summary | Approval dialog content is created every time the dialog is displayed but never destroyed => [SCO][18Q1] Approval dialog content is created every time the dialog is displayed but never destroyed | ||
2017-09-20 18:14 | guilleaer | Proposed Solution updated | |||
2017-09-21 08:46 | guilleaer | Target Version | => RR18Q1 | ||
2017-09-21 08:46 | guilleaer | Summary | [SCO][18Q1] Approval dialog content is created every time the dialog is displayed but never destroyed => [SCO][Contribution] Approval dialog content is created every time the dialog is displayed but never destroyed | ||
2017-10-03 18:11 | adrianromero | File Added: 36906-pimobile-2.export | |||
2017-10-04 16:30 | hgbot | Checkin | |||
2017-10-04 16:30 | hgbot | Note Added: 0099765 | |||
2017-10-04 16:30 | hgbot | Checkin | |||
2017-10-04 16:30 | hgbot | Note Added: 0099767 | |||
2017-10-04 16:30 | hgbot | Status | new => resolved | ||
2017-10-04 16:30 | hgbot | Resolution | open => fixed | ||
2017-10-04 16:30 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/afe00a02a28cc51004ab36aca0ee8e4f5e88c207 [^] | ||
2017-10-05 16:44 | marvintm | Assigned To | Retail => guilleaer | ||
2017-10-17 16:22 | guilleaer | Review Assigned To | => marvintm | ||
2017-10-26 13:02 | marvintm | Status | resolved => closed | ||
2017-10-26 13:02 | marvintm | Fixed in Version | => RR18Q1 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|