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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052627
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Discounts and Promotionsmajorhave not tried2023-05-31 09:292023-07-11 14:32
ReporternoemierousselView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR23Q2.2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression levelPackaging and release
Regression date2022-10-04
Regression introduced in releaseRR22Q4
Regression introduced by commithttps://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/d6a1d4f03f0a48eaa5793b783e45ce3c70c13f5e [^]
Triggers an Emergency PackNo
Summary

0052627: Pos 2: promotions wrongly configured block the access to the WebPOS

DescriptionWhen we configure a promotion wrongly, the expected behavior is to have an error message in Back Office when activating a promotion where a mandatory filter is missing (for Combo for example, the error occurs when there is no record registered in Family subtab), but not in the WEBPOS.

If I configure a promotion with an error or a missing filter, I should still be able to log in to WebPOS and do a sale, and the promotion that is not correctly set up will not be available.

We need to know which configuration can cause this blocking error.
Steps To ReproduceGo to the backoffice

Create a new record in "Discounts and Promotions" : a Combo promotion without adding family. Set it as active.

Try to enter in the WebPOS. -> POS can't be opened

Then, go to the backoffice and deactivate the promotion.

Go to the POS and refresh, see that POS is now accesible.

Go to the backoffice and activate the promotion.

Go to the POS and refresh, see that POS is now unaccesible.
Proposed SolutionWe need to know which configuration can cause this blocking error.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0052618 closedranjith_qualiantech_com POS2 Pos 2: promotions wrongly configured block the access to the WebPOS 

-  Notes
(0152321)
hgbot (developer)
2023-07-11 14:17

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.combo/-/merge_requests/35 [^]
(0152322)
hgbot (developer)
2023-07-11 14:17

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1169 [^]
(0152323)
hgbot (developer)
2023-07-11 14:17

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/568 [^]
(0152333)
hgbot (developer)
2023-07-11 14:32

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 16bebf1cd0afc4eecd2a8843175c538f5257fec5
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 11-07-2023 12:32:40
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/16bebf1cd0afc4eecd2a8843175c538f5257fec5 [^]

Related to ISSUE-52627: Removed recursion function in MasterData hooks

---
M web/org.openbravo.mobile.core/app/model/masterdata/MasterdataController.js
---
(0152334)
hgbot (developer)
2023-07-11 14:32

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/568 [^]
(0152335)
hgbot (developer)
2023-07-11 14:32

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 64f815cbdcb0bdf5006d15e4caffff99d36aeed5
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 11-07-2023 15:12:06
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/64f815cbdcb0bdf5006d15e4caffff99d36aeed5 [^]

Related to ISSUE-52627: Error should be handled when loading terminal data

---
M web-jspack/org.openbravo.core2/src/core/terminal/TerminalDataMasterdataHooks.js
---
(0152336)
hgbot (developer)
2023-07-11 14:32

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1169 [^]
(0152337)
hgbot (developer)
2023-07-11 14:32

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.combo/-/merge_requests/35 [^]
(0152338)
hgbot (developer)
2023-07-11 14:32

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.combo [^]
Changeset: 6f49546d60b565d2b12541a452a9029db9dc8edb
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 11-07-2023 12:32:54
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.combo/-/commit/6f49546d60b565d2b12541a452a9029db9dc8edb [^]

Fixed ISSUE-52627: Added InitialValidation for ComboFixedPrice discount

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/discounts/combo/master/DiscountComboValidation.java
---

- Issue History
Date Modified Username Field Change
2023-05-31 15:10 ranjith_qualiantech_com Type defect => backport
2023-05-31 15:10 ranjith_qualiantech_com Target Version => RR23Q2.2
2023-07-11 14:17 hgbot Note Added: 0152321
2023-07-11 14:17 hgbot Note Added: 0152322
2023-07-11 14:17 hgbot Note Added: 0152323
2023-07-11 14:32 hgbot Note Added: 0152333
2023-07-11 14:32 hgbot Note Added: 0152334
2023-07-11 14:32 hgbot Note Added: 0152335
2023-07-11 14:32 hgbot Note Added: 0152336
2023-07-11 14:32 hgbot Note Added: 0152337
2023-07-11 14:32 hgbot Resolution open => fixed
2023-07-11 14:32 hgbot Status scheduled => closed
2023-07-11 14:32 hgbot Note Added: 0152338


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker