From 345526cb6062a3765c8f8b33b7e253203ed4162b Mon Sep 17 00:00:00 2001 From: Dirk Rudolph Date: Wed, 18 Oct 2023 11:05:00 +0200 Subject: [PATCH 1/3] fix: add Page v3 resource type to CatalogPageNotFoundFilter --- .../components/internal/servlets/CatalogPageNotFoundFilter.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bundles/core/src/main/java/com/adobe/cq/commerce/core/components/internal/servlets/CatalogPageNotFoundFilter.java b/bundles/core/src/main/java/com/adobe/cq/commerce/core/components/internal/servlets/CatalogPageNotFoundFilter.java index 196b745306..9efdda5de6 100644 --- a/bundles/core/src/main/java/com/adobe/cq/commerce/core/components/internal/servlets/CatalogPageNotFoundFilter.java +++ b/bundles/core/src/main/java/com/adobe/cq/commerce/core/components/internal/servlets/CatalogPageNotFoundFilter.java @@ -61,6 +61,8 @@ + com.adobe.cq.commerce.core.components.internal.models.v1.page.PageImpl.RESOURCE_TYPE, EngineConstants.SLING_FILTER_RESOURCETYPES + "=" + com.adobe.cq.commerce.core.components.internal.models.v2.page.PageImpl.RESOURCE_TYPE, + EngineConstants.SLING_FILTER_RESOURCETYPES + "=" + + com.adobe.cq.commerce.core.components.internal.models.v3.page.PageImpl.RESOURCE_TYPE, // limit to typical content rendering requests EngineConstants.SLING_FILTER_EXTENSIONS + "=html", EngineConstants.SLING_FILTER_EXTENSIONS + "=json", From 0e3b40407a9ff8ba3c5032be1d6ad2e41564ac12 Mon Sep 17 00:00:00 2001 From: Dirk Rudolph Date: Wed, 18 Oct 2023 11:07:17 +0200 Subject: [PATCH 2/3] fix: add Page v3 resource type to ProductPageRedirectServlet --- .../internal/servlets/ProductPageRedirectServlet.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bundles/core/src/main/java/com/adobe/cq/commerce/core/components/internal/servlets/ProductPageRedirectServlet.java b/bundles/core/src/main/java/com/adobe/cq/commerce/core/components/internal/servlets/ProductPageRedirectServlet.java index b82aed29d8..7b029eb4ab 100644 --- a/bundles/core/src/main/java/com/adobe/cq/commerce/core/components/internal/servlets/ProductPageRedirectServlet.java +++ b/bundles/core/src/main/java/com/adobe/cq/commerce/core/components/internal/servlets/ProductPageRedirectServlet.java @@ -42,6 +42,8 @@ + com.adobe.cq.commerce.core.components.internal.models.v1.page.PageImpl.RESOURCE_TYPE, ServletResolverConstants.SLING_SERVLET_RESOURCE_TYPES + "=" + com.adobe.cq.commerce.core.components.internal.models.v2.page.PageImpl.RESOURCE_TYPE, + ServletResolverConstants.SLING_SERVLET_RESOURCE_TYPES + "=" + + com.adobe.cq.commerce.core.components.internal.models.v3.page.PageImpl.RESOURCE_TYPE, ServletResolverConstants.SLING_SERVLET_SELECTORS + "=" + ProductPageRedirectServlet.SELECTOR, ServletResolverConstants.SLING_SERVLET_EXTENSIONS + "=" + ProductPageRedirectServlet.EXTENSION }) From a0151f00a02f001aa714efc0c7d096fe134d10f3 Mon Sep 17 00:00:00 2001 From: Dirk Rudolph Date: Wed, 18 Oct 2023 11:08:02 +0200 Subject: [PATCH 3/3] fix: add Page v3 resource type to CategoryPageRedirectServlet --- .../internal/servlets/CategoryPageRedirectServlet.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bundles/core/src/main/java/com/adobe/cq/commerce/core/components/internal/servlets/CategoryPageRedirectServlet.java b/bundles/core/src/main/java/com/adobe/cq/commerce/core/components/internal/servlets/CategoryPageRedirectServlet.java index 062a80866e..9f1e9e5254 100644 --- a/bundles/core/src/main/java/com/adobe/cq/commerce/core/components/internal/servlets/CategoryPageRedirectServlet.java +++ b/bundles/core/src/main/java/com/adobe/cq/commerce/core/components/internal/servlets/CategoryPageRedirectServlet.java @@ -43,6 +43,8 @@ + com.adobe.cq.commerce.core.components.internal.models.v1.page.PageImpl.RESOURCE_TYPE, ServletResolverConstants.SLING_SERVLET_RESOURCE_TYPES + "=" + com.adobe.cq.commerce.core.components.internal.models.v2.page.PageImpl.RESOURCE_TYPE, + ServletResolverConstants.SLING_SERVLET_RESOURCE_TYPES + "=" + + com.adobe.cq.commerce.core.components.internal.models.v3.page.PageImpl.RESOURCE_TYPE, ServletResolverConstants.SLING_SERVLET_SELECTORS + "=" + CategoryPageRedirectServlet.SELECTOR, ServletResolverConstants.SLING_SERVLET_EXTENSIONS + "=" + CategoryPageRedirectServlet.EXTENSION })