| Openbravo Issue Tracking System - Retail Modules | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0044420 | Retail Modules | Web POS | public | 2020-06-18 22:37 | 2020-06-26 15:24 | 
| Reporter | lbressan | ||||
| Assigned To | ranjith_qualiantech_com | ||||
| Priority | high | Severity | major | Reproducibility | always | 
| Status | closed | Resolution | fixed | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | RR19Q4 | ||||
| Target Version | pi | Fixed in Version | RR20Q3 | ||
| Merge Request Status | |||||
| Review Assigned To | marvintm | ||||
| OBNetwork customer | OBPS | ||||
| Support ticket | 16643 | ||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | RR19Q1 | ||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0044420: The modification of the lines in the hook OrderLoaderPreProcessHook does not take effect | ||||
| Description | The hook OrderLoaderPreProcessHook has been implemented, I have made a modification in the attributes of the lines and it does not take effect, because the orderLoader class does a new JSONArray to keep the lines of the order instead of performing aliasing. the main flow affected is the generation of sales orders from the pos. We found the issue / commit that introduces the change that affects the behavior of "OrderLoaderPreProcessHook" was: https://issues.openbravo.com/view.php?id=39352 [^] commit: 1e81317f98de8f93ade73734f15864d98e11473f | ||||
| Steps To Reproduce | Steps to reproduce on ( standard environment strongly advised)? 1- implement the OrderLoaderPreProcessHook hook 2- make a modification in the attribute-value of the lines 3- see that the change does not appear since they are different objects see example.png | ||||
| Proposed Solution | use aliasing as it was before the above-mentioned commit: JSONArray orderlines = jsonorder.getJSONArray("lines"); | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files |  example.png (63,485) 2020-06-18 22:37 https://issues.openbravo.com/file_download.php?file_id=14654&type=bug | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2020-06-18 22:37 | lbressan | New Issue | |||
| 2020-06-18 22:37 | lbressan | Assigned To | => Retail | ||
| 2020-06-18 22:37 | lbressan | File Added: example.png | |||
| 2020-06-18 22:37 | lbressan | OBNetwork customer | => OBPS | ||
| 2020-06-18 22:37 | lbressan | Support ticket | => 16643 | ||
| 2020-06-18 22:37 | lbressan | Resolution time | => 1593640800 | ||
| 2020-06-18 22:37 | lbressan | Regression introduced in release | => RR19Q1 | ||
| 2020-06-18 22:37 | lbressan | Triggers an Emergency Pack | => No | ||
| 2020-06-18 22:38 | lbressan | Target Version | RR19Q4.4 => pi | ||
| 2020-06-24 08:14 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | ||
| 2020-06-26 15:06 | hgbot | Checkin | |||
| 2020-06-26 15:06 | hgbot | Note Added: 0121133 | |||
| 2020-06-26 15:07 | hgbot | Checkin | |||
| 2020-06-26 15:07 | hgbot | Note Added: 0121134 | |||
| 2020-06-26 15:07 | hgbot | Status | new => resolved | ||
| 2020-06-26 15:07 | hgbot | Resolution | open => fixed | ||
| 2020-06-26 15:07 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/233e6552a4b8ac178e91c6b6961b034ccd02c51a [^] | ||
| 2020-06-26 15:24 | marvintm | Review Assigned To | => marvintm | ||
| 2020-06-26 15:24 | marvintm | Status | resolved => closed | ||
| 2020-06-26 15:24 | marvintm | Fixed in Version | => RR20Q3 | ||
| Notes | |||||
|  | |||||
| 
 | 
 | ||||
|  | |||||
| 
 | 
 | ||||