Openbravo Issue Tracking System - Openbravo ERP | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0044108 | Openbravo ERP | 02. Master data management | public | 2020-05-19 16:41 | 2020-05-29 13:55 |
| Reporter | ngarcia | ||||
| Assigned To | cberner | ||||
| Priority | high | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | PR20Q3 | |||
| Merge Request Status | |||||
| Review Assigned To | alostale | ||||
| OBNetwork customer | Gold | ||||
| Web browser | |||||
| Modules | Core | ||||
| Support ticket | 16109 | ||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0044108: In Discounts and Promotions window, unclear error shown when trying to upload products from a file if they are duplicated | ||||
| Description | In Discounts and Promotions window, unclear error shown when trying to upload products from a file if they are duplicated | ||||
| Steps To Reproduce | As group admin role: Go to Discounts and promotions window Create a header and add a name and a starting date Go to Products tab Click on the toolbar button "Upload a file to import products into the discount" Choose the attached file Import Mode: Import and Add Import Error Handling: Stop on Error Check the following error is shown org.hibernate.exception.ConstraintViolationException: could not execute batch The log shows: ERROR org.hibernate.engine.jdbc.batch.internal.BatchingBatch - HHH000315: Exception executing batch [java.sql.BatchUpdateException: Batch entry 1 insert into M_Offer_Product (...) was aborted: ERROR: duplicate key value violates unique constraint "m_offer_product_unique" Detail: Key (m_product_id, m_offer_id)=(..., ...) already exists After that, the button keeps loading and it is not active until the window is opened again | ||||
| Proposed Solution | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=14503&type=bug | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2020-05-19 16:41 | ngarcia | New Issue | |||
| 2020-05-19 16:41 | ngarcia | Assigned To | => Triage Finance | ||
| 2020-05-19 16:41 | ngarcia | OBNetwork customer | => Gold | ||
| 2020-05-19 16:41 | ngarcia | Modules | => Core | ||
| 2020-05-19 16:41 | ngarcia | Support ticket | => 16109 | ||
| 2020-05-19 16:41 | ngarcia | Triggers an Emergency Pack | => No | ||
| 2020-05-19 16:42 | ngarcia | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=21071#r21071 | ||
| 2020-05-19 16:44 | ngarcia | Issue Monitored: networkb | |||
| 2020-05-19 16:45 | ngarcia | File Added: prodDisc.txt | |||
| 2020-05-20 08:48 | ngarcia | Resolution time | => 1560117600 | ||
| 2020-05-20 08:48 | ngarcia | Severity | minor => major | ||
| 2020-05-20 08:48 | ngarcia | Resolution time | 1560117600 => 1591740000 | ||
| 2020-05-20 11:28 | inigo_lerga | Status | new => scheduled | ||
| 2020-05-21 09:44 | inigo_lerga | Assigned To | Triage Finance => inigo_lerga | ||
| 2020-05-21 12:58 | inigo_lerga | Assigned To | inigo_lerga => platform | ||
| 2020-05-21 12:59 | inigo_lerga | Status | scheduled => acknowledged | ||
| 2020-05-21 13:06 | inigo_lerga | Note Added: 0120131 | |||
| 2020-05-21 13:06 | inigo_lerga | Note Edited: 0120131 | bug_revision_view_page.php?bugnote_id=0120131#r21087 | ||
| 2020-05-21 13:06 | inigo_lerga | Status | acknowledged => scheduled | ||
| 2020-05-21 13:08 | inigo_lerga | Note Edited: 0120131 | bug_revision_view_page.php?bugnote_id=0120131#r21088 | ||
| 2020-05-21 13:35 | dmiguelez | Status | scheduled => acknowledged | ||
| 2020-05-28 10:03 | cberner | Assigned To | platform => cberner | ||
| 2020-05-28 11:17 | cberner | Note Added: 0120390 | |||
| 2020-05-28 11:17 | cberner | Status | acknowledged => scheduled | ||
| 2020-05-29 10:36 | hgbot | Checkin | |||
| 2020-05-29 10:36 | hgbot | Note Added: 0120454 | |||
| 2020-05-29 10:36 | hgbot | Status | scheduled => resolved | ||
| 2020-05-29 10:36 | hgbot | Resolution | open => fixed | ||
| 2020-05-29 10:36 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/8513209a597a49d0834cfbc0017ab970c10de0be [^] | ||
| 2020-05-29 13:55 | alostale | Review Assigned To | => alostale | ||
| 2020-05-29 13:55 | alostale | Status | resolved => closed | ||
| 2020-05-29 13:55 | alostale | Fixed in Version | => 3.0PR20Q3 | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||