Skip to content
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

Akeneo patch 4.0.90 gives a validation error. #56

Open
geetap22 opened this issue Feb 26, 2021 · 1 comment
Open

Akeneo patch 4.0.90 gives a validation error. #56

geetap22 opened this issue Feb 26, 2021 · 1 comment

Comments

@geetap22
Copy link

update the product using api. attached is the payload.
{
"code": 422,
"message": "Validation failed.",
"errors": [
{
"property": "values",
"message": "This field is missing.",
"attribute": "recommended_application_timing",
"locale": "en_US",
"scope": null
}
The recommended_application_timing is the table attribute field, it is not a product variant,
there is no constraint added for it. Still this error occurs.
I tried to add values for this field in payload still the error remains the same.
Also when we tried to remove category from the products there was still the same error.
Attaching the screenshot for that as well.
we don't have any customization on this.
If you highlight the changes so that we can change the flagbit code accordingly.
payload for product patch.txt
Screenshot from 2021-02-24 19-56-38

@thirumalaicb
Copy link

Hi Table attribute team,
I am part of the same team that @geetap22 is. After further analysis, we found it was a data definition issue which is a mistake when passing the data through the API. Once corrected, the problem goes away. The table attribute does not validate if any of the columns does not have a value and does accept empty. We did not find it a problem.

However, the error above was a little misleading from a troubleshooting standpoint.

P.S. The table attribute type works with 4.0.96 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants