Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0049920 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | major | have not tried | 2022-08-01 11:52 | 2022-08-01 13:04 | |||
Reporter | jonae | View Status | public | |||||
Assigned To | jonae | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 22Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | merged | |||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | QA functional test | |||||||
Regression date | 2022-08-01 | |||||||
Regression introduced in release | pi | |||||||
Regression introduced by commit | https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/00881dae80ffe97413da3024690c16ee05643c54 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0049920: Every time a product button is loaded the system calls the backend to calculate the stock | |||||||
Description | Every time a product button is loaded the system calls the backend to calculate the stock. The stock needs to be got from the state instead of calling the backend. | |||||||
Steps To Reproduce | - Load the product keymap - Check that the backend manages as much requests as products the product keymap is showing. | |||||||
Proposed Solution | Get the stock from the state | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0139762) hgbot (developer) 2022-08-01 12:17 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1113 [^] |
(0139764) hgbot (developer) 2022-08-01 12:56 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1113 [^] |
(0139765) hgbot (developer) 2022-08-01 12:56 |
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^] Changeset: 97941ac51b6c2739527d7acec31e9b856f6cd513 Author: Jon AlegrÃa <jon.alegria@openbravo.com> Date: 01-08-2022 10:55:59 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/97941ac51b6c2739527d7acec31e9b856f6cd513 [^] Fixes ISSUE-49920: Removing the request to the backend to calculate the stock of a product and get it from the state. Before this change, every single product buttons made a request to the server to pick up the stock when they were rendered. --- M web-jspack/org.openbravo.pos2/src/components/ProductButton/ProductButtonContent/ProductButtonContent.jsx --- |
![]() |
|||
Date Modified | Username | Field | Change |
2022-08-01 11:52 | jonae | New Issue | |
2022-08-01 11:52 | jonae | Assigned To | => jonae |
2022-08-01 11:52 | jonae | OBNetwork customer | => No |
2022-08-01 11:52 | jonae | Regression level | => QA functional test |
2022-08-01 11:52 | jonae | Regression date | => 2022-08-01 |
2022-08-01 11:52 | jonae | Regression introduced in release | => pi |
2022-08-01 11:52 | jonae | Regression introduced by commit | => https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/00881dae80ffe97413da3024690c16ee05643c54 [^] |
2022-08-01 11:52 | jonae | Triggers an Emergency Pack | => No |
2022-08-01 12:17 | hgbot | Merge Request Status | => open |
2022-08-01 12:17 | hgbot | Note Added: 0139762 | |
2022-08-01 12:56 | hgbot | Resolution | open => fixed |
2022-08-01 12:56 | hgbot | Status | new => resolved |
2022-08-01 12:56 | hgbot | Merge Request Status | open => merged |
2022-08-01 12:56 | hgbot | Note Added: 0139764 | |
2022-08-01 12:56 | hgbot | Fixed in Version | => 22Q4 |
2022-08-01 12:56 | hgbot | Note Added: 0139765 | |
2022-08-01 12:57 | javierRodriguez | Status | resolved => closed |
2022-08-01 13:04 | javierRodriguez | Relationship added | caused by 0049305 |
Copyright © 2000 - 2009 MantisBT Group |