Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0049376 | POS2 | POS | public | 2022-05-23 14:16 | 2022-05-28 10:25 |
|
Reporter | AugustoMauch | |
Assigned To | sntgreale | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0049376: JIRA 3012: Keymap - some products are missing from the keymap |
Description | When building product keymaps, we only want to include those products that belong to the store assortment. That check is done here [1]. This [2] is the function where the products in the assortment are retrieved. Notice that there is no limit defined for the find() function, so the default limit (300) will be used, and as a result if the assortment contains more than 300 products, some of them will not be available in the keymap.
[1] https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/blob/master/web-jspack/org.openbravo.pos2/src/configurations/keymapConfiguration/getKeymapInformation.js#L390 [^]
[2] https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/blob/master/web-jspack/org.openbravo.pos2/src/configurations/keymapConfiguration/utils/getAssortmentProducts.js#L23 [^] |
Steps To Reproduce | - Prepare an assortment with more then 300 products
- Prepare a keymap that contains all the products in the assortment
- Notice that only 300 of the products will be available in the keymap |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-05-23 14:16 | AugustoMauch | New Issue | |
2022-05-23 14:16 | AugustoMauch | Assigned To | => Retail |
2022-05-23 14:16 | AugustoMauch | Triggers an Emergency Pack | => No |
2022-05-24 15:56 | sntgreale | Assigned To | Retail => sntgreale |
2022-05-24 15:56 | sntgreale | Status | new => scheduled |
2022-05-25 19:42 | hgbot | Note Added: 0137737 | |
2022-05-26 13:13 | guilleaer | Summary | Keymap - filter by products in the assortment is not working properly => JIRA 3036: Keymap - filter by products in the assortment is not working properly |
2022-05-26 15:04 | guilleaer | Summary | JIRA 3036: Keymap - filter by products in the assortment is not working properly => JIRA 3012: Keymap - filter by products in the assortment is not working properly |
2022-05-26 17:26 | AugustoMauch | Summary | JIRA 3012: Keymap - filter by products in the assortment is not working properly => JIRA 3012: Keymap - some products are missing from the keymap |
2022-05-28 10:24 | hgbot | Resolution | open => fixed |
2022-05-28 10:24 | hgbot | Status | scheduled => resolved |
2022-05-28 10:24 | hgbot | Note Added: 0137836 | |
2022-05-28 10:24 | hgbot | Note Added: 0137837 | |
2022-05-28 10:24 | AugustoMauch | Status | resolved => closed |
2022-05-28 10:25 | AugustoMauch | Review Assigned To | => AugustoMauch |