UPDATE :

I change the method into magentoerpconnect to use ol_catalog method for
update and create.

Works great with simple product as mentioned, but with configurable
products, attached products are not listed and configurable products are
not create completely (require setup of dimension)

So, it's mean, we get a problem on create configurable products with
this connector version and magento 1.6.1, and it's also mean a  total
loss of this amazing function of the magentoerpconnect !

How could i solve this please ?


Regards,

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/891271

Title:
  update and create function broken on magento 1.6.1

Status in Magento OpenERP Connector:
  New

Bug description:
  Hello,

  I install magento 1.6.1 and the latest version of the connector.
  Note : i setup a dedicated magento with only the connector as extension to be 
sure.

  When installed, it break the magento API due some broken part into the
  extended API in creation and update of products.

  Some part of my debug:

  In creation mode, some part of product are available (sku, stock, website_id) 
but nothing in description, status, weight,...
  So the product is not visible into the backend of magento.

  I think there is  a problem with this part into
  Ol_Catalog/Products.php where attributes are  not processed.

  
  foreach ($product->getTypeInstance(true)->getEditableAttributes($product) as 
$attribute) {
              if ($this->_isAllowedAttribute($attribute)
                  && isset($productData[$attribute->getAttributeCode()])) {
                  $product->setData(
                      $attribute->getAttributeCode(),
                      $productData[$attribute->getAttributeCode()]
                  );
              }
          }

  This part where attribute name is declare is processed :
  if (isset($productData['website_ids']) && 
is_array($productData['website_ids'])) {
              $product->setWebsiteIds($productData['website_ids']);
          }

  
  In update mode get same problem with the foreach.

  Thanks for your help to solve this.

  Regards,

  Thierry

To manage notifications about this bug go to:
https://bugs.launchpad.net/magentoerpconnect/+bug/891271/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to