Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

6.5: cannot add any components (custom/built-in) to pages

Avatar

Level 8

background info: we are in the process of upgrading to 6.5 on an AMS hosted environment. They provided a sandbox area for us so we can test our custom code.

problem: After merging our 6.4 and 6.5 code base, I cannot add components anymore.

When clicking on a component, all I get is this:

Screen Shot 2021-01-22 at 5.12.25 PM.png

I also cannot drag-and-drop components anymore.

I'm looking for suggestions on what files/configs to check.

1. I checked the error and project logs but nothing related jumps out.

2. I fixed an NPE error in our custom code (which seems to be unrelated) and reinstalled the new package and it didn't fix it.

Thank you.

 

edit1: I started encountering this issue in local which could be related to the issue with the AMS sandbox environment.

edit2: Seems my local and AMS sandbox is fixed after reinstalling the package. The weird thing with local is that if I had to restart my computer for whatever, I get the problem but if I reinstall our custom package, it starts working again.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Addition to allow components in the parsys, the issue could be with your page component dialog overlays. The dialog structure of OOTB page component is changed in 6.5 so when you overlay, you have to follow the same structure.


you can delete the dialog from your project page component and verify if this is the cause.



Arun Patidar

View solution in original post

6 Replies

Avatar

Community Advisor

@jayv25585659 It might be possible that there no policy configured to allow components inside the layout container.

Go to the edit template option and check if the policy for the respective layout container is defined or not.

Avatar

Level 8
can you please tell me which file to check? Thanks

Avatar

Correct answer by
Community Advisor

Addition to allow components in the parsys, the issue could be with your page component dialog overlays. The dialog structure of OOTB page component is changed in 6.5 so when you overlay, you have to follow the same structure.


you can delete the dialog from your project page component and verify if this is the cause.



Arun Patidar

Avatar

Level 8
I started encountering this issue in local which could be related to the issue with the AMS sandbox environment.Seems my local and AMS sandbox is fixed after reinstalling the package. The weird thing with local is that if I had to restart my computer for whatever, I get the problem but if I reinstall our custom package, it starts working again.

Avatar

Level 8
can you please tell me which files to check? Thanks

Avatar

Community Advisor
If you restart the machine or AEM instances the bundles restart as well, and when you reinstall package that will reinstall the bundle, this is just a guess, you can try restarting bundle after starting AEM, to find out if the bundle is creating some issues.


Arun Patidar