Farfetch / blackout

Blackout is the codename for the Farfetch Platform Solutions (FPS) projects. Useful to build e-commerce applications using the FPS APIs and integrating business logic.
MIT License
42 stars 15 forks source link

useCommercePages - merge strategy #868

Open ext-rafael-silva opened 11 months ago

ext-rafael-silva commented 11 months ago

Expected behavior

After passing the 'strategy: CommercePagesRankingStrategy.Merge', key-value the resulting object should be the merged contents of each commerce page.

Actual behavior

Steps to reproduce

  1. Create a commerce page for a category (type PRODUCT)
  2. Create a commerce page for a product id (type PRODUCT)
  3. With the useCommercePages send the key value: strategy: CommercePagesRankingStrategy.Merge
  4. I expect to get the merged contents from both commerce pages but instead I get the contents of the product id page only.
  5. After looking in utils.js file (@farfetch / blackout-redux / contents ), the getBestRankedCommercePageUsingMergeStrategy function seems to not the pushing the contents of the commerce pages correctly to the mergedComponents array

Context/environment

Dependency version: @farfetch/blackout-react: 1.5.1 Browser: all Link: https://www-cartiersandbox2.blackandwhite-ff.com/ (happens across only environments - this is an example)

Additional information

Commerce page request: curl 'https://www-cartiersandbox2.blackandwhite-ff.com/api/content/v2/commercepages?id=19825111&type=PRODUCT' \ -H 'authority: www-cartiersandbox2.blackandwhite-ff.com' \ -H 'accept: application/json, text/plain, */*' \ -H 'accept-language: en-GB' \ -H 'cookie: _hjSessionUser_1128974=eyJpZCI6ImU1OTNhZWU2LWUzMjktNTZjOC1iZWVhLTFiZWYxYzg2YTgyMSIsImNyZWF0ZWQiOjE2OTE2ODY4MjM5NTMsImV4aXN0aW5nIjp0cnVlfQ==; _ga_MYPXBFCZQX=GS1.1.1692695905.1.0.1692695908.0.0.0; csi=0a5f4808-74aa-4bff-9634-e05de80d5ce3; _ga_MKCXLMHLQ6=GS1.1.1694187586.25.0.1694187591.0.0.0; _gid=GA1.2.1383104265.1694427272; ctx=%7b%22u%22%3a5000021629666952%2c%22g%22%3a1%7d; _hjSession_1128974=eyJpZCI6ImZkMDg5YTY2LWFjYmEtNDE2Ny05ZmJhLWMxZGQ3OGQ3MWMzZSIsImNyZWF0ZWQiOjE2OTQ3MDgzNDk1MjAsImluU2FtcGxlIjpmYWxzZX0=; _hjAbsoluteSessionInProgress=1; sc=ymyfhftfAUuJwxhsYqsTCnes%2FyZygMZ3Gb3%2BCE06WFHDUTkBPWbUIHMNOakXpgfCg63Z0eCuJTO5R7AVCbmr9knVv0ID1y2epQZGomQqceP1PWp3ERNCwTq57P4KovZvrkOo9wAYiULEJu5Duk9OXrxeUB7ypKkHvhEjESsf1GsWfMGt76I5TGE9KTDCTVYfvMjKceDiQzgHEQQGOrlRqrpik1qocowVhOU1YVP0mAk%3D; _hjIncludedInSessionSample_1128974=0; _ga_F502FJR9N3=GS1.1.1694708348.68.1.1694711129.0.0.0; _ga=GA1.2.1868992145.1691686824; dfUserSub=%2Fen-gb; filters_start_hidden=False' \ -H 'ff-country: GB' \ -H 'ff-currency: GBP' \ -H 'referer: https://www-cartiersandbox2.blackandwhite-ff.com/' \ -H 'sec-ch-ua: "Google Chrome";v="117", "Not;A=Brand";v="8", "Chromium";v="117"' \ -H 'sec-ch-ua-mobile: ?1' \ -H 'sec-ch-ua-platform: "Android"' \ -H 'sec-fetch-dest: empty' \ -H 'sec-fetch-mode: cors' \ -H 'sec-fetch-site: same-origin' \ -H 'user-agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Mobile Safari/537.36' \ -H 'x-newrelic-id: VQUCV1ZUGwIFVlBRDgcA' \ --compressed

Response: { "number": 1, "totalPages": 1, "totalItems": 2, "entries": [ { "publicationId": "0d52e174-6354-4f7e-9306-d75e88200da2", "versionId": "016a14a3-287a-4403-8382-0e959d802263", "spaceCode": "default", "contentTypeCode": "commerce_pages", "environmentCode": "live", "code": "PRODUCT_id_19825111", "target": { "channel": "cartiersandbox2-website-live", "contentzone": "12830" }, "metadata": { "custom": { "id": "19825111", "type": "PRODUCT" } }, "publicationDate": "2023-09-14T17:01:56.5848222Z", "components": [ { "type": "list", "components": [ { "type": "list", "components": [ { "type": "list", "components": [ { "type": "custom", "fields": { "position": { "type": "number", "value": 1.0, "name": "Number", "displayOptions": { "uuid": "016a43c5-d753-49ea-a54f-278734f4eda5", "matchId": "016a43c5-d753-49ea-a54f-278734f4eda5", "displayName": "Position", "moduleId": "8f404485-f268-47c0-abf2-bcda662f2a7f", "moduleVersionId": "5e6a46ce-aff1-41e8-ae04-9010dae14550", "moduleVersionName": "1" } }, "blank": { "type": "bool", "value": false, "name": "Boolean", "displayOptions": { "uuid": "4270d19d-ccc7-4717-b2ef-04c5b4cc3631", "matchId": "4270d19d-ccc7-4717-b2ef-04c5b4cc3631", "displayName": "Blank", "moduleId": "e8ed2fe3-ed90-4486-b09f-3f0d83c97ced", "moduleVersionId": "5c9f4cbe-27cc-4398-b3fe-a89991bcb0c5", "moduleVersionName": "1" } } }, "customType": "ordercomponent", "name": "WatchSpecifications", "displayOptions": { "uuid": "0efba620-6775-44c8-a582-4bc2eb52710f", "matchId": "0efba620-6775-44c8-a582-4bc2eb52710f", "displayName": "WatchSpecifications", "moduleId": "72d79a0b-b30a-4eaf-85eb-a784e572b7e3", "moduleVersionId": "4c702caa-dd93-46be-a629-3e7643f19195", "moduleVersionName": "v1.0" } }, { "type": "custom", "fields": { "position": { "type": "number", "value": 2.0, "name": "Number", "displayOptions": { "uuid": "1823e970-4bcb-41cf-91f1-dc6b32b0257d", "matchId": "1823e970-4bcb-41cf-91f1-dc6b32b0257d", "displayName": "Position", "moduleId": "8f404485-f268-47c0-abf2-bcda662f2a7f", "moduleVersionId": "5e6a46ce-aff1-41e8-ae04-9010dae14550", "moduleVersionName": "1" } }, "blank": { "type": "bool", "value": false, "name": "Boolean", "displayOptions": { "uuid": "a177593b-02c8-4e7d-b6d8-270cd5f60b63", "matchId": "a177593b-02c8-4e7d-b6d8-270cd5f60b63", "displayName": "Blank", "moduleId": "e8ed2fe3-ed90-4486-b09f-3f0d83c97ced", "moduleVersionId": "5c9f4cbe-27cc-4398-b3fe-a89991bcb0c5", "moduleVersionName": "1" } } }, "customType": "ordercomponent", "name": "DoubleSide", "displayOptions": { "uuid": "48a0f518-4cf8-44a8-8ad1-2b126f8f3f67", "matchId": "48a0f518-4cf8-44a8-8ad1-2b126f8f3f67", "displayName": "DoubleSide", "moduleId": "72d79a0b-b30a-4eaf-85eb-a784e572b7e3", "moduleVersionId": "4c702caa-dd93-46be-a629-3e7643f19195", "moduleVersionName": "v1.0" } }, { "type": "custom", "fields": { "position": { "type": "number", "value": 1.0, "name": "Number", "displayOptions": { "uuid": "a9346871-cf51-4ad7-9af3-19ab745cd719", "matchId": "a9346871-cf51-4ad7-9af3-19ab745cd719", "displayName": "Position", "moduleId": "8f404485-f268-47c0-abf2-bcda662f2a7f", "moduleVersionId": "5e6a46ce-aff1-41e8-ae04-9010dae14550", "moduleVersionName": "1" } }, "blank": { "type": "bool", "value": false, "name": "Boolean", "displayOptions": { "uuid": "4c402476-bea0-4dbe-91a6-e928140ceaf9", "matchId": "4c402476-bea0-4dbe-91a6-e928140ceaf9", "displayName": "Blank", "moduleId": "e8ed2fe3-ed90-4486-b09f-3f0d83c97ced", "moduleVersionId": "5c9f4cbe-27cc-4398-b3fe-a89991bcb0c5", "moduleVersionName": "1" } } }, "customType": "ordercomponent", "name": "RecentlyViewed", "displayOptions": { "uuid": "daaa6fea-f683-42c5-bd60-844afddce5d6", "matchId": "daaa6fea-f683-42c5-bd60-844afddce5d6", "displayName": "RecentlyViewed", "moduleId": "72d79a0b-b30a-4eaf-85eb-a784e572b7e3", "moduleVersionId": "4c702caa-dd93-46be-a629-3e7643f19195", "moduleVersionName": "v1.0" } }, { "type": "custom", "fields": { "position": { "type": "number", "value": 3.0, "name": "Number", "displayOptions": { "uuid": "648a9718-a06b-4f2c-a561-03ef3b0856bc", "matchId": "648a9718-a06b-4f2c-a561-03ef3b0856bc", "displayName": "Position", "moduleId": "8f404485-f268-47c0-abf2-bcda662f2a7f", "moduleVersionId": "5e6a46ce-aff1-41e8-ae04-9010dae14550", "moduleVersionName": "1" } }, "blank": { "type": "bool", "value": false, "name": "Boolean", "displayOptions": { "uuid": "669ad3a1-efb6-4de1-bb05-6115868da501", "matchId": "669ad3a1-efb6-4de1-bb05-6115868da501", "displayName": "Blank", "moduleId": "e8ed2fe3-ed90-4486-b09f-3f0d83c97ced", "moduleVersionId": "5c9f4cbe-27cc-4398-b3fe-a89991bcb0c5", "moduleVersionName": "1" } } }, "customType": "ordercomponent", "name": "CareUserGuide", "displayOptions": { "uuid": "b3536fa2-ead6-4155-9048-7287ae6a3f4e", "matchId": "b3536fa2-ead6-4155-9048-7287ae6a3f4e", "displayName": "CareUserGuide", "moduleId": "72d79a0b-b30a-4eaf-85eb-a784e572b7e3", "moduleVersionId": "4c702caa-dd93-46be-a629-3e7643f19195", "moduleVersionName": "v1.0" } } ], "name": "List", "displayOptions": { "uuid": "64f01e66-8b12-4f50-9628-4b22227ba001", "matchId": "64f01e66-8b12-4f50-9628-4b22227ba001", "displayName": "OrderComponent", "moduleId": "72d79a0b-b30a-4eaf-85eb-a784e572b7e3", "moduleVersionId": "4c702caa-dd93-46be-a629-3e7643f19195", "moduleVersionName": "v1.0" } } ], "name": "subsection", "displayOptions": { "displayId": "e729bf91-11f2-410c-8c2d-a8b9fbcd3d13", "displayName": "Subsection 1" } } ], "name": "section", "displayOptions": { "displayId": "503bc1d3-a477-4a82-a84a-899fcae4de2d", "displayName": "PDP Order" } }, { "type": "list", "components": [ { "type": "list", "components": [ { "type": "custom", "fields": { "delivery-banner-display": { "type": "bool", "value": true, "name": "Boolean", "displayOptions": { "uuid": "ac3c06f2-264c-4af8-a6e2-d4302d1257c6", "matchId": "ac3c06f2-264c-4af8-a6e2-d4302d1257c6", "displayName": "Delivery Banner Display", "moduleId": "e8ed2fe3-ed90-4486-b09f-3f0d83c97ced", "moduleVersionId": "5c9f4cbe-27cc-4398-b3fe-a89991bcb0c5", "moduleVersionName": "1" } } }, "customType": "delivery-banner-display", "name": "Delivery Banner Display", "displayOptions": { "uuid": "2e5d8c7b-dd3c-43f5-b379-94d1cce6082b", "matchId": "2e5d8c7b-dd3c-43f5-b379-94d1cce6082b", "displayName": "Delivery Banner Display", "moduleId": "254ba4af-5844-4322-a130-09eb6f448858", "moduleVersionId": "eeb503de-9d1a-48ce-b414-08708cb5f059", "moduleVersionName": "v1.0" } } ], "name": "subsection", "displayOptions": { "displayId": "6a92c72c-adf1-4447-b523-85b74839bb0a", "displayName": "Subsection 1" } } ], "name": "section", "displayOptions": { "displayId": "118ac135-b77b-4512-b2f2-9f0c940f2fa8", "displayName": "US2854 test" } } ] }, { "publicationId": "2c17c47e-9515-44c3-846c-10d947dfb504", "versionId": "c38f06db-54d4-4acc-80c4-92efbd38b801", "spaceCode": "default", "contentTypeCode": "commerce_pages", "environmentCode": "live", "code": "PRODUCT_category_179741", "target": { "channel": "cartiersandbox2-website-live", "contentzone": "12830" }, "metadata": { "custom": { "type": "PRODUCT", "category": "179741" } }, "publicationDate": "2023-09-13T17:33:53.2117034Z", "components": [ { "type": "list", "components": [ { "type": "list", "components": [ { "type": "custom", "fields": { "additional-message": { "type": "text", "value": "Jewellery products - Please note that the carat weight, number of stones and product dimensions will vary based on the size of the creation you order. For detailed information please contact us.", "name": "Text", "displayOptions": { "uuid": "6cf3204f-6097-4a79-8653-69dd07fd6792", "matchId": "6cf3204f-6097-4a79-8653-69dd07fd6792", "displayName": "Additional message", "moduleId": "226dea44-9f40-4cb8-a7a0-237466b48af3", "moduleVersionId": "46067b0c-933a-44c7-b623-f9f116e06ecb", "moduleVersionName": "1" } } }, "customType": "product-description-dynamic", "name": "Product Description Dynamic", "displayOptions": { "uuid": "2787f428-c6f7-4d14-81f9-2d26e274208b", "matchId": "2787f428-c6f7-4d14-81f9-2d26e274208b", "displayName": "Product Description Dynamic", "moduleId": "4d253a5f-e30d-4096-9a77-7a1d642c590e", "moduleVersionId": "e56c3fdc-932d-4266-bdb8-71243cf85258", "moduleVersionName": "v1.0" } } ], "name": "subsection", "displayOptions": { "displayId": "5e921e75-c9d6-4e8e-8eda-3d101fe8ee7e", "displayName": "Subsection 1" } } ], "name": "section", "displayOptions": { "displayId": "e7a79034-c548-4969-8679-e86e1ec2a720", "displayName": "Jewellery Product Description" } }, { "type": "list", "components": [ { "type": "list", "components": [ { "type": "list", "components": [ { "type": "custom", "fields": { "position": { "type": "number", "value": 1.0, "name": "Number", "displayOptions": { "uuid": "3836c447-f8b7-4812-9324-66ce6a0ed12c", "matchId": "3836c447-f8b7-4812-9324-66ce6a0ed12c", "displayName": "Position", "moduleId": "8f404485-f268-47c0-abf2-bcda662f2a7f", "moduleVersionId": "5e6a46ce-aff1-41e8-ae04-9010dae14550", "moduleVersionName": "1" } }, "blank": { "type": "bool", "value": false, "name": "Boolean", "displayOptions": { "uuid": "a58f1295-e168-4347-9756-0a6de490620d", "matchId": "a58f1295-e168-4347-9756-0a6de490620d", "displayName": "Blank", "moduleId": "e8ed2fe3-ed90-4486-b09f-3f0d83c97ced", "moduleVersionId": "5c9f4cbe-27cc-4398-b3fe-a89991bcb0c5", "moduleVersionName": "1" } } }, "customType": "ordercomponent", "name": "WatchSpecifications", "displayOptions": { "uuid": "8f3f0e5f-3c1b-42b2-a187-f11f06a8c8a3", "matchId": "8f3f0e5f-3c1b-42b2-a187-f11f06a8c8a3", "displayName": "WatchSpecifications", "moduleId": "72d79a0b-b30a-4eaf-85eb-a784e572b7e3", "moduleVersionId": "4c702caa-dd93-46be-a629-3e7643f19195", "moduleVersionName": "v1.0" } }, { "type": "custom", "fields": { "position": { "type": "number", "value": 2.0, "name": "Number", "displayOptions": { "uuid": "f2180db9-ec7d-4411-9db8-8c127ea2bb17", "matchId": "f2180db9-ec7d-4411-9db8-8c127ea2bb17", "displayName": "Position", "moduleId": "8f404485-f268-47c0-abf2-bcda662f2a7f", "moduleVersionId": "5e6a46ce-aff1-41e8-ae04-9010dae14550", "moduleVersionName": "1" } }, "blank": { "type": "bool", "value": false, "name": "Boolean", "displayOptions": { "uuid": "9d72846f-9aec-4981-bf48-fa6906fd0065", "matchId": "9d72846f-9aec-4981-bf48-fa6906fd0065", "displayName": "Blank", "moduleId": "e8ed2fe3-ed90-4486-b09f-3f0d83c97ced", "moduleVersionId": "5c9f4cbe-27cc-4398-b3fe-a89991bcb0c5", "moduleVersionName": "1" } } }, "customType": "ordercomponent", "name": "DoubleSide", "displayOptions": { "uuid": "8e053581-ad43-44ef-9aff-0143d58c64c2", "matchId": "8e053581-ad43-44ef-9aff-0143d58c64c2", "displayName": "DoubleSide", "moduleId": "72d79a0b-b30a-4eaf-85eb-a784e572b7e3", "moduleVersionId": "4c702caa-dd93-46be-a629-3e7643f19195", "moduleVersionName": "v1.0" } }, { "type": "custom", "fields": { "position": { "type": "number", "value": 3.0, "name": "Number", "displayOptions": { "uuid": "fb57dbef-41c8-46d0-967b-e6c332e3e7c2", "matchId": "fb57dbef-41c8-46d0-967b-e6c332e3e7c2", "displayName": "Position", "moduleId": "8f404485-f268-47c0-abf2-bcda662f2a7f", "moduleVersionId": "5e6a46ce-aff1-41e8-ae04-9010dae14550", "moduleVersionName": "1" } }, "blank": { "type": "bool", "value": false, "name": "Boolean", "displayOptions": { "uuid": "39079aff-9703-4f35-881a-fb5bfdfffbc2", "matchId": "39079aff-9703-4f35-881a-fb5bfdfffbc2", "displayName": "Blank", "moduleId": "e8ed2fe3-ed90-4486-b09f-3f0d83c97ced", "moduleVersionId": "5c9f4cbe-27cc-4398-b3fe-a89991bcb0c5", "moduleVersionName": "1" } } }, "customType": "ordercomponent", "name": "RecentlyViewed", "displayOptions": { "uuid": "caf47d74-6dfd-4cf9-8615-cba79e591540", "matchId": "caf47d74-6dfd-4cf9-8615-cba79e591540", "displayName": "RecentlyViewed", "moduleId": "72d79a0b-b30a-4eaf-85eb-a784e572b7e3", "moduleVersionId": "4c702caa-dd93-46be-a629-3e7643f19195", "moduleVersionName": "v1.0" } }, { "type": "custom", "fields": { "position": { "type": "number", "value": 4.0, "name": "Number", "displayOptions": { "uuid": "4eb55881-1521-4457-9de3-44c2b3678137", "matchId": "4eb55881-1521-4457-9de3-44c2b3678137", "displayName": "Position", "moduleId": "8f404485-f268-47c0-abf2-bcda662f2a7f", "moduleVersionId": "5e6a46ce-aff1-41e8-ae04-9010dae14550", "moduleVersionName": "1" } }, "blank": { "type": "bool", "value": false, "name": "Boolean", "displayOptions": { "uuid": "2e2fda04-e20c-491a-984f-d9f59921a4fe", "matchId": "2e2fda04-e20c-491a-984f-d9f59921a4fe", "displayName": "Blank", "moduleId": "e8ed2fe3-ed90-4486-b09f-3f0d83c97ced", "moduleVersionId": "5c9f4cbe-27cc-4398-b3fe-a89991bcb0c5", "moduleVersionName": "1" } } }, "customType": "ordercomponent", "name": "CareUserGuide", "displayOptions": { "uuid": "f7ca0609-92bb-46dd-a88c-54e522825768", "matchId": "f7ca0609-92bb-46dd-a88c-54e522825768", "displayName": "CareUserGuide", "moduleId": "72d79a0b-b30a-4eaf-85eb-a784e572b7e3", "moduleVersionId": "4c702caa-dd93-46be-a629-3e7643f19195", "moduleVersionName": "v1.0" } } ], "name": "List", "displayOptions": { "uuid": "1e9d8b0e-c715-4268-9e46-d81cc3c3ab89", "matchId": "1e9d8b0e-c715-4268-9e46-d81cc3c3ab89", "displayName": "OrderComponent", "moduleId": "72d79a0b-b30a-4eaf-85eb-a784e572b7e3", "moduleVersionId": "4c702caa-dd93-46be-a629-3e7643f19195", "moduleVersionName": "v1.0" } } ], "name": "subsection", "displayOptions": { "displayId": "163fff15-7cba-4669-8773-2d04aa90e433", "displayName": "Subsection 1" } } ], "name": "section", "displayOptions": { "displayId": "b2ef3b73-a711-4ee4-af52-70f067e50c06", "displayName": "PDP Order" } } ] } ] }

Data object resulting from useCommercePages request: { "entries": [ { "publicationId": "0d52e174-6354-4f7e-9306-d75e88200da2", "versionId": "016a14a3-287a-4403-8382-0e959d802263", "spaceCode": "default", "contentTypeCode": "commerce_pages", "environmentCode": "live", "code": "PRODUCT_id_19825111", "target": { "channel": "cartiersandbox2-website-live", "contentzone": "12830" }, "metadata": { "custom": { "id": "19825111", "type": "PRODUCT", "eventDate": null } }, "publicationDate": 1694710916584, "components": [ { "type": "list", "components": [ { "type": "list", "components": [ { "type": "list", "components": [ { "type": "custom", "fields": { "position": { "type": "number", "value": 1, "name": "Number", "displayOptions": { "uuid": "016a43c5-d753-49ea-a54f-278734f4eda5", "matchId": "016a43c5-d753-49ea-a54f-278734f4eda5", "displayName": "Position", "moduleId": "8f404485-f268-47c0-abf2-bcda662f2a7f", "moduleVersionId": "5e6a46ce-aff1-41e8-ae04-9010dae14550", "moduleVersionName": "1" } }, "blank": { "type": "bool", "value": false, "name": "Boolean", "displayOptions": { "uuid": "4270d19d-ccc7-4717-b2ef-04c5b4cc3631", "matchId": "4270d19d-ccc7-4717-b2ef-04c5b4cc3631", "displayName": "Blank", "moduleId": "e8ed2fe3-ed90-4486-b09f-3f0d83c97ced", "moduleVersionId": "5c9f4cbe-27cc-4398-b3fe-a89991bcb0c5", "moduleVersionName": "1" } } }, "customType": "ordercomponent", "name": "WatchSpecifications", "displayOptions": { "uuid": "0efba620-6775-44c8-a582-4bc2eb52710f", "matchId": "0efba620-6775-44c8-a582-4bc2eb52710f", "displayName": "WatchSpecifications", "moduleId": "72d79a0b-b30a-4eaf-85eb-a784e572b7e3", "moduleVersionId": "4c702caa-dd93-46be-a629-3e7643f19195", "moduleVersionName": "v1.0" } }, { "type": "custom", "fields": { "position": { "type": "number", "value": 1, "name": "Number", "displayOptions": { "uuid": "a9346871-cf51-4ad7-9af3-19ab745cd719", "matchId": "a9346871-cf51-4ad7-9af3-19ab745cd719", "displayName": "Position", "moduleId": "8f404485-f268-47c0-abf2-bcda662f2a7f", "moduleVersionId": "5e6a46ce-aff1-41e8-ae04-9010dae14550", "moduleVersionName": "1" } }, "blank": { "type": "bool", "value": false, "name": "Boolean", "displayOptions": { "uuid": "4c402476-bea0-4dbe-91a6-e928140ceaf9", "matchId": "4c402476-bea0-4dbe-91a6-e928140ceaf9", "displayName": "Blank", "moduleId": "e8ed2fe3-ed90-4486-b09f-3f0d83c97ced", "moduleVersionId": "5c9f4cbe-27cc-4398-b3fe-a89991bcb0c5", "moduleVersionName": "1" } } }, "customType": "ordercomponent", "name": "RecentlyViewed", "displayOptions": { "uuid": "daaa6fea-f683-42c5-bd60-844afddce5d6", "matchId": "daaa6fea-f683-42c5-bd60-844afddce5d6", "displayName": "RecentlyViewed", "moduleId": "72d79a0b-b30a-4eaf-85eb-a784e572b7e3", "moduleVersionId": "4c702caa-dd93-46be-a629-3e7643f19195", "moduleVersionName": "v1.0" } }, { "type": "custom", "fields": { "position": { "type": "number", "value": 2, "name": "Number", "displayOptions": { "uuid": "1823e970-4bcb-41cf-91f1-dc6b32b0257d", "matchId": "1823e970-4bcb-41cf-91f1-dc6b32b0257d", "displayName": "Position", "moduleId": "8f404485-f268-47c0-abf2-bcda662f2a7f", "moduleVersionId": "5e6a46ce-aff1-41e8-ae04-9010dae14550", "moduleVersionName": "1" } }, "blank": { "type": "bool", "value": false, "name": "Boolean", "displayOptions": { "uuid": "a177593b-02c8-4e7d-b6d8-270cd5f60b63", "matchId": "a177593b-02c8-4e7d-b6d8-270cd5f60b63", "displayName": "Blank", "moduleId": "e8ed2fe3-ed90-4486-b09f-3f0d83c97ced", "moduleVersionId": "5c9f4cbe-27cc-4398-b3fe-a89991bcb0c5", "moduleVersionName": "1" } } }, "customType": "ordercomponent", "name": "DoubleSide", "displayOptions": { "uuid": "48a0f518-4cf8-44a8-8ad1-2b126f8f3f67", "matchId": "48a0f518-4cf8-44a8-8ad1-2b126f8f3f67", "displayName": "DoubleSide", "moduleId": "72d79a0b-b30a-4eaf-85eb-a784e572b7e3", "moduleVersionId": "4c702caa-dd93-46be-a629-3e7643f19195", "moduleVersionName": "v1.0" } }, { "type": "custom", "fields": { "position": { "type": "number", "value": 3, "name": "Number", "displayOptions": { "uuid": "648a9718-a06b-4f2c-a561-03ef3b0856bc", "matchId": "648a9718-a06b-4f2c-a561-03ef3b0856bc", "displayName": "Position", "moduleId": "8f404485-f268-47c0-abf2-bcda662f2a7f", "moduleVersionId": "5e6a46ce-aff1-41e8-ae04-9010dae14550", "moduleVersionName": "1" } }, "blank": { "type": "bool", "value": false, "name": "Boolean", "displayOptions": { "uuid": "669ad3a1-efb6-4de1-bb05-6115868da501", "matchId": "669ad3a1-efb6-4de1-bb05-6115868da501", "displayName": "Blank", "moduleId": "e8ed2fe3-ed90-4486-b09f-3f0d83c97ced", "moduleVersionId": "5c9f4cbe-27cc-4398-b3fe-a89991bcb0c5", "moduleVersionName": "1" } } }, "customType": "ordercomponent", "name": "CareUserGuide", "displayOptions": { "uuid": "b3536fa2-ead6-4155-9048-7287ae6a3f4e", "matchId": "b3536fa2-ead6-4155-9048-7287ae6a3f4e", "displayName": "CareUserGuide", "moduleId": "72d79a0b-b30a-4eaf-85eb-a784e572b7e3", "moduleVersionId": "4c702caa-dd93-46be-a629-3e7643f19195", "moduleVersionName": "v1.0" } } ], "name": "List", "displayOptions": { "uuid": "64f01e66-8b12-4f50-9628-4b22227ba001", "matchId": "64f01e66-8b12-4f50-9628-4b22227ba001", "displayName": "OrderComponent", "moduleId": "72d79a0b-b30a-4eaf-85eb-a784e572b7e3", "moduleVersionId": "4c702caa-dd93-46be-a629-3e7643f19195", "moduleVersionName": "v1.0" } } ], "name": "subsection", "displayOptions": { "displayId": "e729bf91-11f2-410c-8c2d-a8b9fbcd3d13", "displayName": "Subsection 1" } } ], "name": "section", "displayOptions": { "displayId": "503bc1d3-a477-4a82-a84a-899fcae4de2d", "displayName": "PDP Order" } }, { "type": "list", "components": [ { "type": "list", "components": [ { "type": "custom", "fields": { "delivery-banner-display": { "type": "bool", "value": true, "name": "Boolean", "displayOptions": { "uuid": "ac3c06f2-264c-4af8-a6e2-d4302d1257c6", "matchId": "ac3c06f2-264c-4af8-a6e2-d4302d1257c6", "displayName": "Delivery Banner Display", "moduleId": "e8ed2fe3-ed90-4486-b09f-3f0d83c97ced", "moduleVersionId": "5c9f4cbe-27cc-4398-b3fe-a89991bcb0c5", "moduleVersionName": "1" } } }, "customType": "delivery-banner-display", "name": "Delivery Banner Display", "displayOptions": { "uuid": "2e5d8c7b-dd3c-43f5-b379-94d1cce6082b", "matchId": "2e5d8c7b-dd3c-43f5-b379-94d1cce6082b", "displayName": "Delivery Banner Display", "moduleId": "254ba4af-5844-4322-a130-09eb6f448858", "moduleVersionId": "eeb503de-9d1a-48ce-b414-08708cb5f059", "moduleVersionName": "v1.0" } } ], "name": "subsection", "displayOptions": { "displayId": "6a92c72c-adf1-4447-b523-85b74839bb0a", "displayName": "Subsection 1" } } ], "name": "section", "displayOptions": { "displayId": "118ac135-b77b-4512-b2f2-9f0c940f2fa8", "displayName": "US2854 test" } } ], "ranking": 10000000000 } ], "pagination": { "pageIndex": 1, "totalPages": 1, "totalItems": 1 } }

Possible fix

boliveira commented 10 months ago

Hi @ext-rafael-silva, we acknowledge this issue and we will work on a fix. You will be updated when we have the fix available. Thank you!