Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0056616 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [POS2] POS | minor | have not tried | 2024-09-26 17:00 | 2024-10-11 14:49 | |||
Reporter | ifernandez | View Status | public | |||||
Assigned To | ifernandez | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | 24Q4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0056616: Discount limit constraint violated on update database | |||||||
Description | The constraint EM_OBDISC_LIMIT_CHK, is used to check in case there's an active limit for the discount, that the limit value has been set to a number higher than 0. When updating an environement, some discounts doesn't pass the check because the the limit is active, but the limit number remains as null. | |||||||
Steps To Reproduce | N/A. | |||||||
Proposed Solution | Check the onCreateDefault for EM_OBDISC_LIMITPERORDER in the table M_OFFER and verify that the CASE works fine and sets a 1 in case EM_OBDISC_APPLYONCE is set to true. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0169891) hgbot (developer) 2024-10-02 10:32 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/154 [^] |
(0170097) hgbot (developer) 2024-10-08 11:48 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^] Changeset: 31031e9c78c5b1a780a44c2afaeef4b92f397e0a Author: Inigo Fernandez <i.fernandez@orisha.com> Date: 02-10-2024 10:32:54 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/31031e9c78c5b1a780a44c2afaeef4b92f397e0a [^] Fixes ISSUE-56616: Discount limit constraint violated on update database --- M src-db/database/model/modifiedTables/M_OFFER.xml --- |
(0170098) hgbot (developer) 2024-10-08 11:48 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/154 [^] |
(0170232) hgbot (developer) 2024-10-10 08:37 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/merge_requests/117 [^] |
(0170252) hgbot (developer) 2024-10-10 11:35 |
Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/160 [^] |
(0170276) hgbot (developer) 2024-10-11 08:56 |
Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata/-/merge_requests/114 [^] |
(0170294) hgbot (developer) 2024-10-11 14:49 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata [^] Changeset: 2ab2ff3dfdf66c833b4b5ab24b405722af70bad5 Author: Inigo Fernandez <i.fernandez@orisha.com> Date: 10-10-2024 08:38:18 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/commit/2ab2ff3dfdf66c833b4b5ab24b405722af70bad5 [^] Fixes ISSUE-56616: Discount limit constraint violated on update database --- M referencedata/sampledata/The_White_Valley_Group/M_OFFER.xml --- |
(0170295) hgbot (developer) 2024-10-11 14:49 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/merge_requests/117 [^] |
(0170296) hgbot (developer) 2024-10-11 14:49 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata [^] Changeset: 7ab697667821bf877409a2a222afc8970fb2d03f Author: Inigo Fernandez <i.fernandez@orisha.com> Date: 10-10-2024 11:34:23 URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/commit/7ab697667821bf877409a2a222afc8970fb2d03f [^] Fixes ISSUE-56616: Discount limit constraint violated on update database --- M referencedata/sampledata/The_White_Valley_Group/M_OFFER.xml --- |
(0170297) hgbot (developer) 2024-10-11 14:49 |
Merge request merged: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/160 [^] |
(0170298) hgbot (developer) 2024-10-11 14:49 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata [^] Changeset: 14d32e80f1eb67ea001683878c16b2771a400066 Author: Inigo Fernandez <i.fernandez@orisha.com> Date: 11-10-2024 08:58:14 URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata/-/commit/14d32e80f1eb67ea001683878c16b2771a400066 [^] Fixes ISSUE-56616: Discount limit constraint violated on update database --- M referencedata/sampledata/Retail_Test/M_OFFER.xml --- |
(0170299) hgbot (developer) 2024-10-11 14:49 |
Merge request merged: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata/-/merge_requests/114 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2024-10-02 10:20 | ifernandez | Type | defect => backport |
2024-10-02 10:20 | ifernandez | Target Version | => 24Q4 |
2024-10-02 10:32 | hgbot | Note Added: 0169891 | |
2024-10-08 11:48 | hgbot | Resolution | open => fixed |
2024-10-08 11:48 | hgbot | Status | scheduled => closed |
2024-10-08 11:48 | hgbot | Fixed in Version | => RR24Q4 |
2024-10-08 11:48 | hgbot | Note Added: 0170097 | |
2024-10-08 11:48 | hgbot | Note Added: 0170098 | |
2024-10-10 08:37 | hgbot | Note Added: 0170232 | |
2024-10-10 11:35 | hgbot | Note Added: 0170252 | |
2024-10-11 08:56 | hgbot | Note Added: 0170276 | |
2024-10-11 14:49 | hgbot | Note Added: 0170294 | |
2024-10-11 14:49 | hgbot | Note Added: 0170295 | |
2024-10-11 14:49 | hgbot | Note Added: 0170296 | |
2024-10-11 14:49 | hgbot | Note Added: 0170297 | |
2024-10-11 14:49 | hgbot | Note Added: 0170298 | |
2024-10-11 14:49 | hgbot | Note Added: 0170299 |
Copyright © 2000 - 2009 MantisBT Group |