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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041997
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Magento Connector - Mappingsminoralways2019-10-11 12:422019-10-15 11:39
ReporteraferrazView Statuspublic 
Assigned Toaferraz 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision9cda75788b30
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned ToSandrahuguet
Regression introduced in release
Summary

0041997: Error when removing a record in Discounts and Promotions window

DescriptionError when removing a record in Discounts and Promotions window if it has any child in Product Category, Products or Characteristics subtabs.
Steps To ReproduceInstall retail pack modules.
Install Magento Connector:
- org.openbravo.externaldata.integration
- org.openbravo.service.external.integration
- org.openbravo.service.integration.magento.core
- org.openbravo.service.integration.magento.mappings

Create a record in Discounts and Promotions window.
Add a record in any of following subtabs: Product Category, Products, Characteristics.
Try to remove record from header tab and following error is shown:
org.hibernate.ObjectDeletedException: deleted object would be re-saved by cascade
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0115042)
hgbot (developer)
2019-10-11 14:32

Repository: erp/pmods/org.openbravo.service.integration.magento.mappings
Changeset: 9cda75788b30d9e54aabdb47f344fd2794ca43ee
Author: Álvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Fri Oct 11 14:31:24 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.service.integration.magento.mappings/rev/9cda75788b30d9e54aabdb47f344fd2794ca43ee [^]

Fixes issue 41997: Update parent record only if it is not being removed in event handlers

---
M src/org/openbravo/service/integration/magento/mappings/outbound/discounts/DiscountCharacteristicEventHandler.java
M src/org/openbravo/service/integration/magento/mappings/outbound/discounts/DiscountProductCategoryEventHandler.java
M src/org/openbravo/service/integration/magento/mappings/outbound/discounts/DiscountProductEventHandler.java
M src/org/openbravo/service/integration/magento/mappings/outbound/products/ProductCharacteristicConfEventHandler.java
M src/org/openbravo/service/integration/magento/mappings/outbound/products/ProductCharacteristicEventHandler.java
M src/org/openbravo/service/integration/magento/mappings/outbound/products/ProductCharacteristicValueEventHandler.java
M src/org/openbravo/service/integration/magento/mappings/utils/MagentoUtils.java
A src/org/openbravo/service/integration/magento/mappings/utils/UpdateParentRecordEventHandlerInterface.java
---
(0115086)
Sandrahuguet (developer)
2019-10-15 11:39

code review + testing ok

- Issue History
Date Modified Username Field Change
2019-10-11 12:42 aferraz New Issue
2019-10-11 12:42 aferraz Assigned To => aferraz
2019-10-11 14:32 aferraz Severity major => minor
2019-10-11 14:32 aferraz Steps to Reproduce Updated View Revisions
2019-10-11 14:32 hgbot Checkin
2019-10-11 14:32 hgbot Note Added: 0115042
2019-10-11 14:32 hgbot Status new => resolved
2019-10-11 14:32 hgbot Resolution open => fixed
2019-10-11 14:32 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.service.integration.magento.mappings/rev/9cda75788b30d9e54aabdb47f344fd2794ca43ee [^]
2019-10-15 11:13 aferraz Review Assigned To => Sandrahuguet
2019-10-15 11:39 Sandrahuguet Note Added: 0115086
2019-10-15 11:39 Sandrahuguet Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker