You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Adding a custom field facet form input UI to seller entity, values of the facet not being captured on creation. Values are of incorrect type when updating.
To Reproduce
Steps to reproduce the behavior:
Go to vendure.config.ts and add a custom field on the seller entity.
In the admin panel, create a seller. You should be able to see the facet form input UI in the custom field and search for the facet and add them.
Click on the create button to create a seller. However, the custom field values are not captured but the seller is being created
Next go to the sellet list and edit the newly created seller. Try to add the custom field again and this time the error appear.
The custom field facets value seems to be an array of objects but it requires an array of strings.
Expected behavior
Being able to create a seller with the custom field values being captured correctly.
Being able to update seller custom field correctly.
Environment (please complete the following information):
@vendure/core version: v2.0.0
Nodejs version: v16.14.0
Database (mysql/postgres etc): mysql
Additional context
Image for step 1
Image for step 2/3
Image for step 4/5
The text was updated successfully, but these errors were encountered:
However, in investigating this issue I did find some actual issues where custom field relation logic had not been implemented in the Seller service, so this will be fixed in the upcoming 2.0.1 patch.
Describe the bug
Adding a custom field facet form input UI to seller entity, values of the facet not being captured on creation. Values are of incorrect type when updating.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Being able to create a seller with the custom field values being captured correctly.
Being able to update seller custom field correctly.
Environment (please complete the following information):
Additional context
Image for step 1
Image for step 2/3
Image for step 4/5
The text was updated successfully, but these errors were encountered: