6.5: cannot add any components (custom/built-in) to pages | Community
Skip to main content
jayv25585659
Level 8
Jan 22, 2021 7:09 AM UTC
Solved

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

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:

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Jan 22, 2021 4:46 PM UTC

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

6 replies

arunpatidar
arunpatidarAccepted solution
New Participant
Jan 22, 2021 4:46 PM UTC

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.

Translate
Arun Patidar
jayv25585659
Level 8
Feb 1, 2021 1:09 AM UTC
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.
Translate
Suraj_Kamdi
New Participant
Jan 22, 2021 12:45 PM UTC

@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.

Translate
jayv25585659
Level 8
Feb 1, 2021 1:29 AM UTC
can you please tell me which file to check? Thanks
Translate