-
Notifications
You must be signed in to change notification settings - Fork 607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shared Component Properties do not work in AEM 6.5 #1858
Comments
@HitmanInWis have you had a chance to try SCP's out in AEM 6.5 yet? +1 on the documentation update though.. |
I've not yet tested SCP on AEM 6.5. I'll see if I can take a look this week to at least gauge the effort to fix. And yes, I should also get that documentation of |
@HitmanInWis - please note this PR though, it should be enough for the docs maybe? |
Thank you @reggie7 for banging out that documentation update! That is merged now. |
I just tested Shared Component Properties (SCP) out on AEM 6.5 and it's working just fine for me. It's possible that the problem is only with the example package, since that was created quite possibly on AEM 6.1... |
Found the issue, and turns out the effect is largely just the example package. However, if someone implemented SCP by copying code from the example package then I guess it would affect them as well. Back in AEM 6.1 a workaround was needed where SCP dialogs needed to use a special "acs-commons/gui/components/authoring/dialogshared" type to prevent a NPE for the dialog when the node storing the content did not yet exist, but this has not been necessary since AEM 6.2. I think because SCP officially went live in ACS Commons when 6.2 was the main AEM version we never even included this in documentation. Dialogs using the OOTB sling:resourceType of Apparently on AEM 6.5 the custom resource type in ACS Commons is no longer working. Ideally we'd just delete this old resource type from ACS Commons as it is absolutely not necessary and truly should be avoided to prevent future compatibility issues. However, given the chance that someone might be using that old ACS Commons resourceType (even with it not being officially documented) I'm wondering if we instead need to update that resourceType to work on 6.5 (probably just remove all of the custom code and have it descend from the default type). |
Fixed the issue for sake of backward compatibility (see above PR). |
* Updated "acs-commons/gui/components/authoring/dialogshared" type to no longer customize the OOTB dialog type, as this has not been needed since AEM 6.2 and was broken on 6.5. * Added #1858 to changelog
Just checked it and it indeed works with the new example package. Thank you, @HitmanInWis |
Hi @reggie7 and @HitmanInWis - Could you please provide me the latest documentation to make this feature work in AEM 6.5? I am not able to find those nodes mentioned in the documentation in AEM 6.5 for "Adding the Page Info Provider to your Page Component". Any help here would be appreciated? |
you need to find your base page component - it might not already have a |
6.5
4.0.0
Expected Behavior
Shared Component Properties works properly in
AEM 6.5
.Actual Behavior
Shared Component Properties does not work properly in
AEM 6.5
:Steps to Reproduce
com.adobe.acs.commons.wcm.impl.PageRootProviderImpl
is actually wrong - usecom.adobe.acs.commons.wcm.impl.PageRootProviderConfig
instead,The text was updated successfully, but these errors were encountered: