Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049920
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajorhave not tried2022-08-01 11:522022-08-01 13:04
ReporterjonaeView Statuspublic 
Assigned Tojonae 
PriorityimmediateResolutionfixedFixed in Version22Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression levelQA functional test
Regression date2022-08-01
Regression introduced in releasepi
Regression introduced by commithttps://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/00881dae80ffe97413da3024690c16ee05643c54 [^]
Triggers an Emergency PackNo
Summary

0049920: Every time a product button is loaded the system calls the backend to calculate the stock

DescriptionEvery 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 SolutionGet the stock from the state
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by feature request 0049305 closedjonae Review the css classes used in the product button content component 

-  Notes
(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
---

- Issue History
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 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 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 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
Powered by Mantis Bugtracker