Comment 11 for bug 711702

Revision history for this message
Guewen Baconnier @ Camptocamp (gbaconnier-c2c) wrote :

test_update(m1401, 1, [4,5])
# => Calling catalog_product.update on 1 with category_ids = [4]
# => OK
# => Calling catalog_product.update on 1 with categories = [5]
# => OK
# => Calling ol_catalog_product.update on 1 with category_ids = [4]
# => OK
# => Calling ol_catalog_product.update on 1 with categories = [5]
# => OK

test_update(m142, 77, [23, 24])
# => Calling catalog_product.update on 77 with category_ids = [23]
# => NOK
# => Calling catalog_product.update on 77 with categories = [23]
# => OK
# => Calling ol_catalog_product.update on 77 with category_ids = [24]
# => NOK
# => Calling ol_catalog_product.update on 77 with categories = [24]
# => OK

test_update(m151, 3, [4, 5])
# => Calling catalog_product.update on 3 with category_ids = [4]
# => NOK
# => Calling catalog_product.update on 3 with categories = [4]
# => OK
# => Calling ol_catalog_product.update on 3 with category_ids = [5]
# => NOK
# => Calling ol_catalog_product.update on 3 with categories = [5]
# => OK