akeneo / pim-community-dev

[Community Development Repository] The open source Product Information Management (PIM)
http://www.akeneo.com
Other
950 stars 513 forks source link

[backport PIM-11406] PIM-11418: Fix API Product Model endpoint when trying to update family with wrong case #20418

Closed pierallard closed 3 months ago

pierallard commented 3 months ago

Backport https://github.com/akeneo/pim-enterprise-dev/pull/21494

Previously, the tested query returned

+'{"code":422,"message":"Property \"family\" cannot be modified, \"FaMiLyA\" given. Check the expected format on the API documentation.","_links":{"documentation":{"href":"http:\/\/api.akeneo.com\/api-reference.html#patch_product_models__code_"}}}'

Now, it accepts the query.