Highlighted

CQ 5.6.1 templates & components on AEM 6.4

Avatar

Avatar

Julio_Baixauli

Avatar

Julio_Baixauli

Julio_Baixauli

17-09-2018

Hi Masters!

I’m working with templates and components developed originally in CQ 5.6.1, but now deployed on an AEM 6.4 instance.

Basically, my templates are static templates with some typical <cq:include path="par" resourceType="foundation/components/parsys"/>. I know the components need the new TouchUI dialogs (cq:dialog), but we can start with the EXT version for now.

At first sight, site pages work fine in TouchUI. They render well. Also, I’ve checked the Blueprint/Livecopy functionalities and works fine. But the problem is that we can’t see the ‘edit’ button when we click on any component. We can only see ‘Copy’, ‘Group’ and ‘Convert…’. The component is already on the page, so it’s not a ‘design mode’ issue.

Any idea?

Kind regards.

Replies

Highlighted

Avatar

Avatar

Julio_Baixauli

Avatar

Julio_Baixauli

Julio_Baixauli

18-09-2018

Hi!

I've reviewed this official AEM 6.4 documentation page:

Create a Fully-Featured Website (JSP)

I've downloaded and installed the package from this page (website-1_0.zip), and I've the same issue. It doesn't work. You can configure in design mode the components available in a parsys, but you can't add or edit any component.

So, it's an AEM 6.4 bug? Or a documentation bug? (Or it's me?!)

Kind regards,

Highlighted

Avatar

Avatar

Ratna_Kumar

MVP

Avatar

Ratna_Kumar

MVP

Ratna_Kumar
MVP

19-09-2018

Hi Julio,

Whatever you use components and templates for AEM 5.6.1, it will work in AEM 6.4 too until unless it is deprecated.

The Adobe documentation you are referring is to create full featured website in JSP: Create a Fully-Featured Website (JSP)

Also, the recommended/best practice is to use HTL aka sightly components from AEM 6.1 onwards. Please have a look of HELPX articles which you create full featured website using HTL.

Adobe Experience Manager Help | Creating your First Adobe Experience Manager 6.3 website

Quickly Create a Fully-Featured Website

Hope this helps!!

Thanks,

Ratna Kumar.

Highlighted

Avatar

Avatar

Julio_Baixauli

Avatar

Julio_Baixauli

Julio_Baixauli

19-09-2018

Hi Ratna.

Thanks for your response, but it doesn't help. Obviously, unless they are deprecated, components should work. But they don't.

Of course, the original components were developed as JSP components, as HTL-Sightly was not available with CQ 5.6.1. We don't need to create new HTL components, we need the original /content structure and components, that is nowadays on a live site, in CQ 5.6.1, works on AEM 6.4. We are trying to avoid a migration of not only components, but all the /content to a new, different, structure.

Anyway, the steps stated in the official documentation I referred previously should work, but it doesn't. Maybe I will open a Support ticket.

Thank you very much.

Regards,

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

19-09-2018

Many times when upgrading to AEM 6.4 from 5.x - you may need to rewrite your components - esp if they have Java libs and dependencies.

When moving to 6.4 - you should work through this article - which reflects best practice in AEM 6.4 and 6.4 technologies like editable templates, HTL, etc:

Getting Started with AEM Sites - WKND Tutorial

That JSP topic is old and even has this note:

Adobe recommends leveraging the latest AEM technologies for your websites as described in detail in the article Getting Started Developing AEM Sites.

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

19-09-2018

Just talked to Support - if your components do not work in Classic UI - then open a suprort ticket.

Highlighted

Avatar

Avatar

Julio_Baixauli

Avatar

Julio_Baixauli

Julio_Baixauli

19-09-2018

Thank you Scott. What about the article [1] in the official AEM 6.4 documentation? In this example, there's only a foundation/components/parsys, and it doesn't work. Even with a simple text or title component.

I'm going to open a Support Ticket. Thanks.

[1] Create a Fully-Featured Website (JSP)

Highlighted

Avatar

Avatar

AnkurAhlawat

Avatar

AnkurAhlawat

AnkurAhlawat

20-09-2018

Just check are you getting any error in your browser console, while opening the page. If yes and it is related to max call stack trace, then try to increase Number of Calls per Request by going to http://localhost:4502/system/console/configMgr then search for Apache Sling main servlet and increase its value from 1000 to 1500.

Highlighted

Avatar

Avatar

Julio_Baixauli

Avatar

Julio_Baixauli

Julio_Baixauli

20-09-2018

Hi Ankur!

We don't have any errors on loading the page. But we've an error when clicking in the parsys 'Drag components here' container. The console error is:

http://localhost:4502/mnt/overlay/wcm/core/content/editor/_jcr_content/content/items/content/content... 403 (Forbidden)

I've changed the value of Apache Sling Main Servlet to 1500, but nothing changed.

Thanks for your time!

I've opened a support ticket, and I will update this thread with the solution. Anyway, if anybody wants to win the Support Team solving it... 🙂

Regards.

Highlighted

Avatar

Avatar

Julio_Baixauli

Avatar

Julio_Baixauli

Julio_Baixauli

20-09-2018

I'm sorry. The example package from official documentation works fine on fresh AEM 6.4 installation. I was installing on a new AEM 6.4 installation, but with other project deployed on it, and it seems this project is interfering with standard AEM functionality.

I'll investigate further. Thank you all.