BlackbitDigitalCommerce / pimcore-data-director

Import Bundle for Pimcore
16 stars 3 forks source link

Empty value in select return strange value #81

Open betterapp opened 1 year ago

betterapp commented 1 year ago

We got a class with select field type with options:

image

image image

The object data are saved like this: image

But when I export those data in ArticleStatus field I get "Z1" value which is label for first option. image image

DataDirector 3.2.22

BlackbitDevs commented 1 year ago

Which data query selector do you use? Simply ArticleStatus or something like ArticleStatus:label?

betterapp commented 1 year ago

image

BlackbitDevs commented 1 year ago

Do you have raw data in this dataport? Or can you please clear raw data for this dataport and afterwards check if the correct value gets extracted?

betterapp commented 1 year ago

I tried to clear but it did not help.

For example if I set this value to: image

I got: image

Which is correct.

betterapp commented 1 year ago

Then I resave back with empty ArticleStatus and I got "JA" as value.

betterapp commented 1 year ago

Maybe DataDirector 3.2.22 is too old but I do not think so.

BlackbitDevs commented 1 year ago

I will try to reproduce this error... will notify you when I have some results.