Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0037470 | Retail Modules | Web POS | public | 2017-12-13 15:52 | 2018-02-19 18:17 |
Reporter | adrianromero | ||||
Assigned To | ranjith_qualiantech_com | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | RR18Q1 | |||
Merge Request Status | |||||
Review Assigned To | marvintm | ||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0037470: Best sellers module queries fail when changing POS language | ||||
Description | The best seller product criteria method throws an error in the javascript console because the terminal ID is not in the request session. The problem is in the following code lines: https://code.openbravo.com/erp/pmods/org.openbravo.retail.bestsellers/file/tip/src/org/openbravo/retail/bestsellers/BrandBestSellerHQLCriteria.java#l31 [^] https://code.openbravo.com/erp/pmods/org.openbravo.retail.bestsellers/file/tip/src/org/openbravo/retail/bestsellers/PCharacteristicBestSellerHQLCriteria.java#l34 [^] https://code.openbravo.com/erp/pmods/org.openbravo.retail.bestsellers/file/tip/src/org/openbravo/retail/bestsellers/PCharacteristicValueBestSellerHQLCriteria.java#l34 [^] The problem is that the session attribute "POSTerminal" does not exist in the reload process executed when updating the user profile. In other places the POS Terminal identifier is requested from the query parameters, for example this changeset modifies how to get the POS Terminal identifier: https://code.openbravo.com/erp/pmods/org.openbravo.retail.digitalcoupons/rev/270c6f796a50 [^] The problem is that in best sellers criteria methods there is no parameter at all. | ||||
Steps To Reproduce | * Install module org.openbravo.retail.bestsellers. * Log in WEB POS terminal VBS-1 * Select in the menu User > Profile * In the dialog change one option. For example check "Set as Default" and apply. * Wait for the WEB POS to reload * Open the developer tools and verify the following errors in the console: 49a7e4275a09208a14dfa75f794f4941.js:3175 serviceSuccess error: status: -1; line: serviceSuccess (http://localhost:8080/openbravo/web/js/gen/49a7e4275a09208a14dfa75f794f4941.js:1148:12 [^]) (*,+) 49a7e4275a09208a14dfa75f794f4941.js:3175 Error in datasource: [object Object]; line: http://localhost:8080/openbravo/web/js/gen/49a7e4275a09208a14dfa75f794f4941.js:1629:14 [^] (*,+) | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2017-12-13 15:52 | adrianromero | New Issue | |||
2017-12-13 15:52 | adrianromero | Assigned To | => Retail | ||
2017-12-13 15:52 | adrianromero | Triggers an Emergency Pack | => No | ||
2017-12-13 16:10 | adrianromero | Summary | Best sellers module queries fails when changing POS language => Best sellers module queries fail when changing POS language | ||
2017-12-14 10:37 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | ||
2017-12-14 10:37 | ranjith_qualiantech_com | Status | new => scheduled | ||
2017-12-16 08:18 | hgbot | Checkin | |||
2017-12-16 08:18 | hgbot | Note Added: 0101078 | |||
2017-12-16 12:54 | ranjith_qualiantech_com | Status | scheduled => resolved | ||
2017-12-16 12:54 | ranjith_qualiantech_com | Resolution | open => fixed | ||
2017-12-20 19:00 | marvintm | Review Assigned To | => marvintm | ||
2017-12-20 19:00 | marvintm | Status | resolved => closed | ||
2017-12-20 19:00 | marvintm | Fixed in Version | => RR18Q1 | ||
2018-02-19 18:17 | hgbot | Checkin | |||
2018-02-19 18:17 | hgbot | Note Added: 0102500 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|