BlackbitDigitalCommerce / pimcore-data-director

Import Bundle for Pimcore
16 stars 3 forks source link

JMESPath - something is broken #69

Closed betterapp closed 1 year ago

betterapp commented 1 year ago

We have such definition:

image

Mapping

image

Under settings for [COUNTRY_CODE]ExternalWarehouseQty and [COUNTRY_CODE]IncomingQty we got

image

All related data in PimCore object was cleared so for every language it looks like this: image Object was saved.

Now try to import such file with dataport:

[ { "sku": "cnvrt-TTT000337", "stocks": [ { "IncomingQty": 10.0, "IncomingDate": "2023-01-30", "ExternalWarehouseQty": 3000, "ExternalWarehouseQtyTimestamp": null, "language": "nb_NO" } ] } ]

It should update only nb_NO language. For other countries should get currentValue which is empty.

After running dataport I get such logs: image

Those selected are wrong value.

Where are those value from ? Is DataDirector have a bug when using JMESPath ?

betterapp commented 1 year ago

This is working in 3.2.25. Not working in 3..0.X