Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0035456 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | have not tried | 2017-03-08 19:46 | 2017-03-24 12:14 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR17Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 6b33f0797d08 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | marvintm | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0035456: Multiple duplicate requests to Complementary Products when adding product to ticket with remote data enabled. | |||||||
Description | When having complementary products feature and remote data preference activated. Then when adding a product to a new empty ticket several requests to org.openbravo.retail.complementary.master.ComplementaryProducts are fired. Those look like duplicate request and at most 1 should be done for a single product | |||||||
Steps To Reproduce | i.e. in livebuilds pi_retail with modules configure a product to have a complementary product in webpos search search for that product configured in previous step Add that product to a ticket and check i.e. chromium net panel to notice that several duplicate request are fired for the ComplementaryProduct servlet | |||||||
Tags | Performance | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0094843) shuehner (administrator) 2017-03-08 19:48 |
Note: issue was found in pi-but-dev codeline with snapshot of 20170306 but is also reproducible in livebuilds. Fix should be tested in both codelines |
(0095026) hgbot (developer) 2017-03-15 12:42 |
Repository: erp/pmods/org.openbravo.retail.complementary Changeset: 26cb6f846ed99c897ad7b94a89eeb8774d4ad484 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Wed Mar 15 17:06:10 2017 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.complementary/rev/26cb6f846ed99c897ad7b94a89eeb8774d4ad484 [^] Fixes issue 35456 : Complementary Product are checked in hook PostAddProductToOrder * Complementary Product are checked in hook PostAddProductToOrder instead of hook RenderOrderLine, Since RenderOrderLine getting called whenever line attributes changes. this avoids multiple call to server in remote mode --- M web/org.openbravo.retail.complementary/js/hooks/hookRenderOrderLine.js --- |
(0095329) marvintm (manager) 2017-03-16 16:26 |
The main idea behind the fix is correct, but this part can be further improved, because currently we are checking if the product has complementary products every time a new unit is added to the line, and this is not needed. So, the first time a new line is added to the ticket, the request for the complementary products should happen, but afterwards, if a line which already did the check is modified, the check should not be done anymore. |
(0095375) hgbot (developer) 2017-03-17 12:22 |
Repository: erp/pmods/org.openbravo.retail.complementary Changeset: 6b33f0797d08d305197be81e364bc0fbb5949bb6 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Fri Mar 17 16:51:46 2017 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.complementary/rev/6b33f0797d08d305197be81e364bc0fbb5949bb6 [^] Fixes issue 35456 : Complementary Product should be checked for first time while adding product * If Product quantity is increased, then Complementary Product should not be checked --- M web/org.openbravo.retail.complementary/js/hooks/hookRenderOrderLine.js --- |
Issue History | |||
Date Modified | Username | Field | Change |
2017-03-08 19:46 | shuehner | New Issue | |
2017-03-08 19:46 | shuehner | Assigned To | => Retail |
2017-03-08 19:46 | shuehner | Triggers an Emergency Pack | => No |
2017-03-08 19:46 | shuehner | Tag Attached: Performance | |
2017-03-08 19:48 | shuehner | Note Added: 0094843 | |
2017-03-09 09:04 | marvintm | Regression date | => 2017-03-30 |
2017-03-13 13:33 | maite | Resolution time | => 1490824800 |
2017-03-13 13:33 | maite | Regression date | 2017-03-30 => |
2017-03-13 19:51 | shuehner | Relationship added | related to 0035501 |
2017-03-14 15:59 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2017-03-14 16:00 | ranjith_qualiantech_com | Status | new => scheduled |
2017-03-15 10:26 | Sandrahuguet | Relationship added | related to 0035520 |
2017-03-15 12:42 | hgbot | Checkin | |
2017-03-15 12:42 | hgbot | Note Added: 0095026 | |
2017-03-15 12:42 | hgbot | Status | scheduled => resolved |
2017-03-15 12:42 | hgbot | Resolution | open => fixed |
2017-03-15 12:42 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.complementary/rev/26cb6f846ed99c897ad7b94a89eeb8774d4ad484 [^] |
2017-03-16 16:26 | marvintm | Note Added: 0095329 | |
2017-03-16 16:26 | marvintm | Status | resolved => new |
2017-03-16 16:26 | marvintm | Resolution | fixed => open |
2017-03-17 07:48 | ranjith_qualiantech_com | Status | new => scheduled |
2017-03-17 12:22 | hgbot | Checkin | |
2017-03-17 12:22 | hgbot | Note Added: 0095375 | |
2017-03-17 12:22 | hgbot | Status | scheduled => resolved |
2017-03-17 12:22 | hgbot | Resolution | open => fixed |
2017-03-17 12:22 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.complementary/rev/26cb6f846ed99c897ad7b94a89eeb8774d4ad484 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.complementary/rev/6b33f0797d08d305197be81e364bc0fbb5949bb6 [^] |
2017-03-24 12:14 | marvintm | Review Assigned To | => marvintm |
2017-03-24 12:14 | marvintm | Status | resolved => closed |
2017-03-24 12:14 | marvintm | Fixed in Version | => RR17Q2 |
Copyright © 2000 - 2009 MantisBT Group |