View Issue Details

IDProjectCategoryView StatusLast Update
0003316OXID ERP InterfaceOXID ERP Interface - subpublic2013-01-21 12:39
ReporterStefan_Werner Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.8.0_31492 
Target Version2.9.0_35501Fixed in Version2.11.1_54476 
Summary0003316: OXERPSetArticle ingnores values for OXPARENTID
DescriptionIf you use OXERPSetArticle on an existing article and replace the value for oxparentid with empty the former value will not change, the old parentid is still inserted.
TagsNo tags attached.

Relationships

related to 0004678 resolvedaurimas.gladutis OXID eShop (all versions) Article can not be converted to variant 

Activities

dainius.bigelis

2011-10-18 14:24

reporter   ~0005331

Reminder sent to: Stefan_Werner

Hi,

Could you describe the case in more details why you need such behavior, to set empty oxparentid value (=unset the variant from parent-product)?
As in eshop there is no such functionality, like making usual products from variants. Basicaly for that you need to delete variant product and create new product in usual way.
Please tell us about your business case.

Reignman

2011-11-03 15:11

reporter   ~0005359

Hi, we have exacly the same case in one of our Projects.

The Case is: We dont generate own oxids, they are given by ERP.
If the customer wants to split the article variants in single Products he has to remove the parentid on the given product.
As we cant build a own, new product with own oxid we have to overwrite the variant.

our fix was to completely overwrite the:
 function _skipSaveFields() of oxarticle
and we commented out the line:
$this->_aSkipSaveFields[] = 'oxparentid';

in my opinion, the check for a emtpty or not set parentid ist not needed in any place of the shop.

dainius.bigelis

2011-11-15 14:27

reporter   ~0005382

Other use case of that request:
"An ERP business partner found this Issue during the switch from summer to winter collection, according to them they often change the assignment of articles/variants because of the changing category architecture."

dainius.bigelis

2012-06-08 10:08

reporter   ~0006813

After internal discussions we decided to implement the fix for that issue as separate method in ERP module for setting oxparentid. This will help to avoid cases, when data is corrupted because oxparentid is not delivered by mistake.
Also the fix in eShop also will be needed to support that functionality.

Linas Kukulskis

2013-01-21 12:39

reporter   ~0008304

oxparent = '', reset parent