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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049313
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2022-05-12 18:222022-06-09 10:55
Reportertristan_coussaertView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version7.x
OS VersionOpenbravo Appliance 14.04Database version9.3.xAnt version1.9.x
Product VersionSCM revision 
Merge Request Statusapproved
Review Assigned To
OBNetwork customerGold
Support ticket42124
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0049313: Latency when paying with a giftcard with a lot of transactions

DescriptionHello,

It seems that in 20Q2 release there is some latency for the debit line of the amount of the giftcard to appear when choosing a giftcard with a lot of transactions as a payment method.

When reading the giftcard before paying (FindGiftCard) there is a line fetching all the information about the giftcard (the transactions are included).
 
It cause some latency because there are probably additional request being played and useless json being created.

In FindGiftCard class :

JSONObject jsongiftcard = toJsonConverter.toJsonObject(giftcard, DataResolvingMode.FULL);

The problem was reproductible in 20Q2 release (calinauto test)
Steps To ReproduceOn the Webpos,
Add a product to the basket
Click on Checkout
Click on More...
Click on Gift Card
Click on Pay Total
Enter a giftcard number with a lot of transactions
Click on Apply
Process is slow

If you do the same operation with a giftcard with few transactions, it will be much faster
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0137937)
hgbot (developer)
2022-06-01 12:15

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/124 [^]
(0138198)
hgbot (developer)
2022-06-09 10:55

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 5428a68d6408c9f492f4c4d6a1e08a67de2c18ea
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 09-06-2022 08:54:36
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/5428a68d6408c9f492f4c4d6a1e08a67de2c18ea [^]

Fixed ISSUE-49313: Update DataToJsonConverter to skip OneToMany property for improving performance

---
M src/org/openbravo/retail/giftcards/DataToJsonConverterExt.java
M src/org/openbravo/retail/giftcards/FindGiftCard.java
---
(0138199)
hgbot (developer)
2022-06-09 10:55

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/124 [^]

- Issue History
Date Modified Username Field Change
2022-05-12 18:22 tristan_coussaert New Issue
2022-05-12 18:22 tristan_coussaert Assigned To => Retail
2022-05-12 18:22 tristan_coussaert OBNetwork customer => No
2022-05-12 18:22 tristan_coussaert Triggers an Emergency Pack => No
2022-05-19 10:17 egoitz OBNetwork customer No => Gold
2022-05-19 10:17 egoitz Project POS2 => Retail Modules
2022-05-19 10:18 egoitz Category POS => Web POS
2022-05-19 10:18 egoitz Support ticket => 42124
2022-05-31 10:00 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2022-05-31 12:04 ranjith_qualiantech_com Status new => scheduled
2022-06-01 12:15 hgbot Merge Request Status => open
2022-06-01 12:15 hgbot Note Added: 0137937
2022-06-09 10:54 hgbot Merge Request Status open => approved
2022-06-09 10:55 hgbot Resolution open => fixed
2022-06-09 10:55 hgbot Status scheduled => closed
2022-06-09 10:55 hgbot Note Added: 0138198
2022-06-09 10:55 hgbot Note Added: 0138199


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker