{"data":{"id":"ACSD-64523","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where it was possible to create new products without a name through the import process (admin or API), which would break the admin interface and result in invalid products.","categories":["Catalog/Product","Import/Export","Web API"],"components":["magento/module-catalog","magento/module-catalog-import-export"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-62/acsd-64523-rest-endpoint-fails-to-validate-mandatory-fields","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-62/acsd-64523-rest-endpoint-fails-to-validate-mandatory-fields.md","blobSha":"cb89f187a04e714b88d729021f18de0b368eab29","description":"The REST endpoint [V1/import/csv] fails to validate mandatory fields, allowing the creation of products without providing these required fields.","stepsToReproduce":"1. Execute the following payload (update the Authorization header): curl --location 'http://<domain>/rest/default/V1/import/json' \\ --header 'Content-Type: application/json' \\ --header 'Authorization: Bearer xxxxx' \\ --data '{ \"source\": { \"locale\": \"en_AU\", \"entity\": \"catalog_product\", \"behavior\": \"append\", \"validation_strategy\": \"validation-stop-on-errors\", \"allowed_error_count\": 0, \"items\": [ { \"sku\": \"product_sku\", \"product_online\": \"no\", \"attribute_set_code\": \"Default\", \"product_type\": \"configurable\", \"product_websites\": \"base\", \"store_view_code\": \"default\", \"name\": null, \"description\": null, \"short_description\": null, \"weight\": null, \"tax_class_name\": null, \"visibility\": null, \"price\": null, \"url_key\": null, \"cost\": null, \"additional_attributes\": { \"special_price\": \"\", \"retail_price\": \"\" }, \"configurable_variations\": [] } ] } }'","introducedInQpt":"1.1.62","createdFor":["2.4.7-p3"],"documentedRange":"2.4.7 - 2.4.7-p4","scheduledFixRelease":"2.4.8"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.7 <2.4.8","path":"patches/os/ACSD-64523_2.4.7-p3.patch","blobSha":"474a5b27d4b734f39a9e907cd6de418cdafb921c","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-64523_2.4.7-p3.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-catalog/Ui/Component/Listing/Columns/ProductActions.php","change":"modified","package":"magento/module-catalog"},{"path":"vendor/magento/module-catalog/Ui/Component/Listing/Columns/Thumbnail.php","change":"modified","package":"magento/module-catalog"},{"path":"vendor/magento/module-catalog-import-export/Model/Import/Product.php","change":"modified","package":"magento/module-catalog-import-export"},{"path":"vendor/magento/module-catalog-import-export/Model/Import/Product/Type/AbstractType.php","change":"modified","package":"magento/module-catalog-import-export"},{"path":"vendor/magento/module-catalog-import-export/Model/Import/Product/Validator.php","change":"modified","package":"magento/module-catalog-import-export"},{"path":"vendor/magento/module-catalog-import-export/Model/Import/Product/Validator/AbstractImportValidator.php","change":"modified","package":"magento/module-catalog-import-export"},{"path":"vendor/magento/module-catalog-import-export/Model/Import/Product/Validator/Name.php","change":"added","package":"magento/module-catalog-import-export"},{"path":"vendor/magento/module-catalog-import-export/etc/di.xml","change":"modified","package":"magento/module-catalog-import-export"}],"packages":["magento/module-catalog","magento/module-catalog-import-export"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7"],"magento-commerce":["2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false},{"package":"magento/magento2-base","constraint":">=2.4.5 <2.4.7 || >=2.4.8 <2.4.9","path":"patches/os/ACSD-67229_2.4.6-p12.patch","blobSha":"4dffa0fa251a8eacbafa070017f48c30a0c1490c","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/ACSD-67229_2.4.6-p12.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-catalog-import-export/Model/Import/Product/Validator/Backorders.php","change":"added","package":"magento/module-catalog-import-export"},{"path":"vendor/magento/module-catalog-import-export/etc/di.xml","change":"modified","package":"magento/module-catalog-import-export"}],"packages":["magento/module-catalog-import-export"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5"],"magento-commerce":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7","2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5"],"magento-commerce":["2.4.8-p5","2.4.8-p4","2.4.8-p3","2.4.8-p2","2.4.8-p1","2.4.8","2.4.7-p10","2.4.7-p9","2.4.7-p8","2.4.7-p7","2.4.7-p6","2.4.7-p5","2.4.7-p4","2.4.7-p3","2.4.7-p2","2.4.7-p1","2.4.7","2.4.6-p15","2.4.6-p14","2.4.6-p13","2.4.6-p12","2.4.6-p11","2.4.6-p10","2.4.6-p9","2.4.6-p8","2.4.6-p7","2.4.6-p6","2.4.6-p5","2.4.6-p4","2.4.6-p3","2.4.6-p2","2.4.6-p1","2.4.6","2.4.5-p17","2.4.5-p16","2.4.5-p15","2.4.5-p14","2.4.5-p13","2.4.5-p12","2.4.5-p11","2.4.5-p10","2.4.5-p9","2.4.5-p8","2.4.5-p7","2.4.5-p6","2.4.5-p5","2.4.5-p4","2.4.5-p3","2.4.5-p2","2.4.5-p1","2.4.5"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-64523 details"}