{"data":{"id":"ACSD-58566","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where GraphQL returns an internal server error when querying the created_at field in the addPurchaseOrderComment mutation.","categories":["B2B","GraphQL"],"components":["magento/module-purchase-order"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-55/acsd-58566-grapghql-internal-server-error-for-purchase-order-comments","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-55/acsd-58566-grapghql-internal-server-error-for-purchase-order-comments.md","blobSha":"c62359617729b5da7e4279b992660a5e13adf675","description":"GraphQL returns an internal server error when querying the created_at field in the addPurchaseOrderComment mutation.","stepsToReproduce":"1. Generate a customer token for a company user. 1. Perform the following sequence of GraphQL requests: 1. Create a cart using customerCart. 1. Add a product to the cart using addProductsToCart. 1. Place the order using placePurchaseOrder. 1. Add a comment to the purchase order using addPurchaseOrderComment. mutation { addPurchaseOrderComment( input: { purchase_order_uid: \"MQ==\", comment: \"Looks good to me\" } ) { comment { uid created_at author { firstname lastname email } text } } }","introducedInQpt":"1.1.55","createdFor":["2.4.6-p4"],"documentedRange":"2.4.6 - 2.4.7-p3","scheduledFixRelease":"2.4.8"},"files":[{"package":"magento/magento2-b2b-base","constraint":">=1.3.5 <1.4.3","path":"patches/commerce/ACSD-58566_1.3.5-p4.patch","blobSha":"59cfa65e29efb39a127268d92caacffb81c3617f","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACSD-58566_1.3.5-p4.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-purchase-order/Model/CommentManagement.php","change":"modified","package":"magento/module-purchase-order"}],"packages":["magento/module-purchase-order"],"hasTests":false,"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.7-p2","2.4.7-p1","2.4.7","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"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":[],"magento-commerce":["2.4.7-p2","2.4.7-p1","2.4.7","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"],"mage-os":[]},"conditions":{"and":[{"type":"log","path":"var/log/exception.log","match":"report.ERROR: Cannot return null for non-nullable field \"PurchaseOrderComment.created_at\""}]},"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-58566 details"}