{"data":{"id":"ACSD-68341","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue when X-Magento-Vary cookie sets several times during PDP loading, when multiple customer segments are created at the store.","categories":["Customer","Cache"],"components":["magento/module-customer-segment"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-77/acsd-68341","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-77/acsd-68341.md","blobSha":"8efbc2618d744b3e44ef8686c30388bcabc6cdd1","description":"X-Magento-Vary cookie is set multiple times during PDP loading when multiple customer segments exist.","stepsToReproduce":"1. Create a product and a category. 1. Create three customer segments by navigating to Customers > Segments > Add Segment: * Segment 1 * Assigned to Website: ALL * Apply to: Registered Customers * Segment 2 * Assigned to Website: ALL * Apply to: Visitors and Registered Customers * Segment 3 * Assigned to Website: ALL * Apply to: Registered Customers 1. Create a customer account and log in. 1. Open the created product listing page (PLP) or PDP. 1. Open the browser developer tools and navigate to Application > Cookies. Search for Vary. 1. Note the X-Magento-Vary cookie value. 1. Reload the page and observe that the cookie value changes twice per page load on every subsequent reload.","introducedInQpt":"1.1.77","createdFor":["2.4.6-p10"],"documentedRange":"2.4.4 - 2.4.8-p3","scheduledFixRelease":"2.4.9"},"files":[{"package":"magento/magento2-ee-base","constraint":">=2.4.4 <2.4.9","path":"patches/commerce/ACSD-68341_2.4.6-p10.patch","blobSha":"8c5a7e00da6e06ff2a4af9d3289ab287d3ee7ffd","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/commerce/ACSD-68341_2.4.6-p10.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-customer-segment/Model/Customer.php","change":"modified","package":"magento/module-customer-segment"},{"path":"vendor/magento/module-customer-segment/Model/Layout/DepersonalizePlugin.php","change":"modified","package":"magento/module-customer-segment"}],"packages":["magento/module-customer-segment"],"hasTests":false,"applicableVersions":{"magento-community":[],"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","2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":[],"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","2.4.4-p18","2.4.4-p17","2.4.4-p16","2.4.4-p15","2.4.4-p14","2.4.4-p13","2.4.4-p12","2.4.4-p11","2.4.4-p10","2.4.4-p9","2.4.4-p8","2.4.4-p7","2.4.4-p6","2.4.4-p5","2.4.4-p4","2.4.4-p3","2.4.4-p2","2.4.4-p1","2.4.4"],"mage-os":[]},"conditions":null,"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch ACSD-68341 details"}