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
Error when saving a product with a Lunar\FrieldTypes\TranslatedText
attribute
#1655
Comments
Thanks for your feedback. It appears after recents changes on this commit 172f595 @ryanmitchell do you have an idea ? I’ll review my code about TranslatedText |
I don't see this error in alpha7 - saving works fine for me on translated fields. |
Same issue here,
Mine was when after creating a new product, and then update the brand or description. You get the error
|
I have the same issue that occurs when I try to update the basic product data.
|
I have a similar error with
when saving a product variant's "basic information" page. |
For ListField, 172f595 appears to override the But TranslatedText doesn't use |
I can confirm I got that too, when editting product and collection |
This PR fix issue #1655. After recents changes, the line has accidentally remove. Livewire Synthesizers need a type to hydrate and dehydrate state of component.
I'm fairly certain (correct me if i'm wrong) but this is as a result of changing the type of the attribute after you have a product created. So it's not updated the |
Expected Behaviour:
Save your product and the data is saved
Actual Behaviour:
When you save the product you get an error
Steps To Reproduce:
Add an Attribute Group with an attribute of type
Lunar\FrieldTypes\TranslatedText
to a product type.Try to save the product.
You get the error
Lunar\FieldTypes\TranslatedText value must be a collection.
Additional info:
I think the error occurs since this fix but I'm not sure: #1639
Looks like I'm not able to save the description field either, but there's no error.
The text was updated successfully, but these errors were encountered: