flagbit / akeneo-table-attribute-bundle

The Flagbit Table Attribute Bundle for Akeneo PIM gives you the possibility to enrich your product with multi-dimensional data presentation in the form of tables, allowing you maximum flexibility within the PIM.
MIT License
22 stars 21 forks source link

Akeneo patch 4.0.90 gives a validation error. #56

Open geetap22 opened 3 years ago

geetap22 commented 3 years ago

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 commented 3 years ago

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.