Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0050197 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Discounts and Promotions | major | have not tried | 2022-09-07 18:24 | 2022-09-12 06:44 | |||
Reporter | rtoledano | View Status | public | |||||
Assigned To | rtoledano | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0050197: Error handling duplicated records for add organization, product and product categories in Discount and Promotion windows | |||||||
Description | Duplicated records are not properly handled when we want to add products, products categories and organization from Discount and Promotions | |||||||
Steps To Reproduce | Got to https://livebuilds.openbravo.com/retail_modules_pgsql_pi [^] on Discount and Promotions window 1- Select a discount of type Price adjustment 2- Adding duplicated organizations: 2.1- Select Button Add Organization 2.2- Select "F&B US West Coast" 2.3- Click on Done 2.4- Select Button Add Organization 2.5- Select fist "F&B US East Coast" and then select "F&B US West Coast" 2.6- Click on Done. 2.7- Check that loading popup do not finalize 3- Adding duplicated Product categories: 3.1- Select Button Add Product Categories 3.2- Select "Alcoholic" 3.3- Click on Done 3.4- Select Button Add Product Categories 3.5- Select fist "Bio" and then select "Alcoholic" 3.6- Click on Done. 3.7- Check that loading popup do not finalize 4- Adding duplicated Products: 4.1- Select Button Add Products 4.2- Select "Cerveza Ale 0,5L" 4.3- Click on Done 4.4- Select Button Add Products 4.5- Select fist "Cerveza Lager 0,5L" and then select "Cerveza Ale 0,5L" 4.6- Click on Done. 4.7- Check that loading popup do not finalize | |||||||
Tags | NOR | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0140831) hgbot (developer) 2022-09-07 21:46 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/703 [^] |
(0140987) hgbot (developer) 2022-09-12 06:44 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: 124fb9ea67dd5feb52c748f4d7aec1c06feb3d1b Author: Roberto Carlos Toledano Gómez <rctg82@gmail.com> Date: 12-09-2022 04:44:21 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/124fb9ea67dd5feb52c748f4d7aec1c06feb3d1b [^] Fixed ISSUE-50197: Additional flush instruction is added for the remaining records. This way you avoid throwing an unhandled exception due to database constrainst. --- M src/org/openbravo/common/actionhandler/OfferPickOrgActionHandler.java M src/org/openbravo/common/actionhandler/OfferPickProductActionHandler.java M src/org/openbravo/common/actionhandler/OfferPickProductCategoryActionHandler.java --- |
(0140988) hgbot (developer) 2022-09-12 06:44 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/703 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2022-09-07 18:24 | rtoledano | New Issue | |
2022-09-07 18:24 | rtoledano | Assigned To | => rtoledano |
2022-09-07 18:24 | rtoledano | OBNetwork customer | => OBPS |
2022-09-07 18:24 | rtoledano | Triggers an Emergency Pack | => No |
2022-09-07 21:46 | hgbot | Merge Request Status | => open |
2022-09-07 21:46 | hgbot | Note Added: 0140831 | |
2022-09-08 00:04 | rtoledano | Tag Attached: NOR | |
2022-09-08 09:21 | sebastien_liron | Issue Monitored: sebastien_liron | |
2022-09-08 16:02 | rafaroda | Relationship added | related to 0048297 |
2022-09-12 06:44 | hgbot | Merge Request Status | open => approved |
2022-09-12 06:44 | hgbot | Resolution | open => fixed |
2022-09-12 06:44 | hgbot | Status | new => closed |
2022-09-12 06:44 | hgbot | Fixed in Version | => PR22Q4 |
2022-09-12 06:44 | hgbot | Note Added: 0140987 | |
2022-09-12 06:44 | hgbot | Note Added: 0140988 |
Copyright © 2000 - 2009 MantisBT Group |