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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046087
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2021-03-16 12:042021-03-17 09:54
ReportermarvintmView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR21Q2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0046087: Date filter is not properly applied when using the Discounts webservice

DescriptionDate filter is not properly applied when using the Discounts webservice. The expiration date is always compared to "now", instead of the orderdate specified as part of the order information
Steps To Reproduce- Define a discount with a specific "valid from" date.
- Use the Discounts webservice with an order with date earlier from that date
- Realise the discount is still applied.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0046055 closedranjith_qualiantech_com API Discounts - issues found 

-  Notes
(0126727)
hgbot (developer)
2021-03-16 12:14

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/20 [^]
(0126729)
hgbot (developer)
2021-03-16 12:17

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/20 [^]
(0126730)
hgbot (developer)
2021-03-16 12:17

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^]
Changeset: 33104adf44032eccf6768f7fe12679aa0893f7ed
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-03-16T16:42:57+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/33104adf44032eccf6768f7fe12679aa0893f7ed [^]

Fixed ISSUE-46087: Updated discount date validation with orderDate instead of currentDate

---
M web/org.openbravo.retail.discounts/app/model/business-logic/discounts-engine/engine/discount-rules.js
---
(0126741)
hgbot (developer)
2021-03-17 09:48

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/21 [^]
(0126742)
hgbot (developer)
2021-03-17 09:54

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/21 [^]
(0126743)
hgbot (developer)
2021-03-17 09:54

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^]
Changeset: 4b4d1cd255ab382ce6cdcaf253c9251dffd87b30
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-03-17T13:14:49+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/4b4d1cd255ab382ce6cdcaf253c9251dffd87b30 [^]

Fixed ISSUE-46087: Added Organization to Ticket for DiscountTest

---
A src-test/org/openbravo/retail/discounts/test/base/model/Organization.java
M src-test/org/openbravo/retail/discounts/test/base/model/Ticket.java
M web/org.openbravo.retail.discounts/app/model/business-logic/discounts-engine/engine/discount-rules.js
---

- Issue History
Date Modified Username Field Change
2021-03-16 12:04 marvintm New Issue
2021-03-16 12:04 marvintm Assigned To => Retail
2021-03-16 12:04 marvintm Resolution time => 1616626800
2021-03-16 12:04 marvintm Triggers an Emergency Pack => No
2021-03-16 12:05 marvintm Relationship added related to 0046055
2021-03-16 12:08 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2021-03-16 12:09 ranjith_qualiantech_com Status new => scheduled
2021-03-16 12:14 hgbot Note Added: 0126727
2021-03-16 12:17 hgbot Note Added: 0126729
2021-03-16 12:17 hgbot Resolution open => fixed
2021-03-16 12:17 hgbot Status scheduled => closed
2021-03-16 12:17 hgbot Fixed in Version => RR21Q2
2021-03-16 12:17 hgbot Note Added: 0126730
2021-03-17 09:48 hgbot Note Added: 0126741
2021-03-17 09:54 hgbot Note Added: 0126742
2021-03-17 09:54 hgbot Note Added: 0126743


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker