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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053317
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Gift cards and gift vouchersmajoralways2023-08-29 11:292023-09-18 13:15
ReporterRomain_GesquiereView Statuspublic 
Assigned ToRajesh_18 
PriorityhighResolutionfixedFixed 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 VersionmainSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0053317: Over-consumption of credit note

DescriptionReproduced in https://livebuilds.openbravo.com/retail_modules_pgsql_pi [^]

With high latency, we can apply multiple time a credit note and even over-consume it.
Here's the video of reproduction: https://drive.google.com/file/d/1V9KXanLad-vo1LdZlAnt03_ClJkbsb98/view?usp=sharing [^]

We would like to apply a fix in Weldom environment if possible
Steps To Reproduce-Configure the credit note usage using http://wiki.openbravo.com/wiki/Retail:Gift_Cards/CreditNotes [^]

-Create a credit note
-Set the network in devtool as 'slow 3G'
-Add product and go to payment
-If your credit note is 100€, select for example 95€
-Search the credit note and spam click yours in the list
-Then spam click apply button
Proposed SolutionSetting flag to check if credit note is consuming

Diff:
https://drive.google.com/file/d/1HM1FFN6eIC4FLgVfJOYu8yTdcJi_WYcM/view?usp=sharing [^]

I tested it and it seems to be working, but I am really not sure if this is a good way to fix the problem.
TagsNo tags attached.
Attached Filesdiff file icon 68867(1).diff [^] (1,394 bytes) 2023-08-29 11:29 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0154116)
Romain_Gesquiere (developer)
2023-08-29 11:53

Adding Zendesk ticket: https://openbravo.zendesk.com/agent/tickets/73416 [^]
(0154341)
hgbot (developer)
2023-09-01 11:32

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/260 [^]
(0154952)
hgbot (developer)
2023-09-18 13:15

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 4e58c9ae96c70ee1b21408967f78129b438f2751
Author: Rajesh Senthilkumar <rajesh@qualiantech.com>
Date: 18-09-2023 13:13:16
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/4e58c9ae96c70ee1b21408967f78129b438f2751 [^]

Fixes ISSUE-53317: Prevented over-consumption of credit note
* Prevented multiple calls while fecthing gift card detail to avoid over-consumption of credit note.

---
M web/org.openbravo.retail.giftcards/js/components/GiftCardDialog.js
---
(0154953)
hgbot (developer)
2023-09-18 13:15

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

- Issue History
Date Modified Username Field Change
2023-08-29 11:29 Romain_Gesquiere New Issue
2023-08-29 11:29 Romain_Gesquiere Assigned To => Retail
2023-08-29 11:29 Romain_Gesquiere File Added: 68867(1).diff
2023-08-29 11:29 Romain_Gesquiere Triggers an Emergency Pack => No
2023-08-29 11:53 Romain_Gesquiere Note Added: 0154116
2023-08-30 08:16 Rajesh_18 Assigned To Retail => Rajesh_18
2023-08-31 06:38 Rajesh_18 Status new => scheduled
2023-09-01 09:47 william_vermersch Issue Monitored: william_vermersch
2023-09-01 11:32 hgbot Note Added: 0154341
2023-09-18 13:15 hgbot Resolution open => fixed
2023-09-18 13:15 hgbot Status scheduled => closed
2023-09-18 13:15 hgbot Note Added: 0154952
2023-09-18 13:15 hgbot Note Added: 0154953


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker