adobe / aem-spa-project-core

Contains abstraction for core Adobe Experience Manager and Single Page Application interface, the page.
Apache License 2.0
29 stars 29 forks source link

Change sling:resourceSuperType of the spa page to the V3 core compone…nt page #68

Closed UladzimirLitvinchuk1 closed 1 month ago

UladzimirLitvinchuk1 commented 2 months ago

Description

The SPA Project Core in AEM is referencing an outdated WCM CORE Page version (v2), which is causing issues with SPA pages. The component should reference the latest version (v3). Issue example from log file

27.09.2024 17:10:21.522 ERROR [[0:0:0:0:0:0:0:1] [1727449821507] GET /content/wknd-spa-react/us/en/home.html HTTP/1.1] com.day.cq.wcm.core.impl.WCMDeveloperModeFilter Error during include of SlingRequestPathInfo: path='/content/wknd-spa-react/us/en/home/jcr:content', selectorString='null', extension='html', suffix='null' org.apache.sling.scripting.sightly.SightlyException: Identifier com.adobe.aem.spa.project.core.models.Page cannot be correctly instantiated by the Use API

Related Issue

Motivation and Context

Its fixing blank page for aem-spa-project-core

How Has This Been Tested?

AEM SDK

Screenshots (if appropriate):

Types of changes

Checklist: