-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple StoreValue Data-Fields in Object #2746
Comments
@la-lisa it never was meant to be used multiple times, we could try to enable that though. |
what version you are having issues with? |
Newest Version. 4.0.11 |
Okay, good to know. A note in the docs or a validation on class definition save would be nice then. Because it can be added multiple times but has weird effects than. |
@la-lisa I actually like the idea of having it multiple times. I see what I can do |
Steps to reproduce:

We added multiple storeValue fields in our product class, one for overall price and one for different shipping prices per product.
When filling in prices for both those fields then, there occurs a unique constraint violation in the product_store_values table when saving, because the fields reference is not saved in the table (only productid and store). If filling in only one of the fields, saving is possible but the values are the same in both data fields then.

Is it not possible anymore to have multiple coreShopStoreValues typed fields in one object? In previous versions it was possible to have multiple.
The text was updated successfully, but these errors were encountered: