Component is coming 2 times when refreshing the pages | Community
Skip to main content
Level 4
December 11, 2018
Solved

Component is coming 2 times when refreshing the pages

  • December 11, 2018
  • 6 replies
  • 1495 views

Dear All,

I have just created a very simple templates and with out of box components in AEM-6.4.

After I drag the component in my home page (For example text component) , it is coming fine and after i refresh the home page the text components are coming 2 times , as shown below.

This behavior is for all the components. Here I am using all the out of box components , as attached below.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

There could be a bug somewhere. Try creating a project for testing purposes using Maven Archetype 15 only. Then open the default EN page and tell us if you see this issue. Follow this article to create a Maven Arch 15 project -- Working with Adobe Experience Manager Carousel Core Components

6 replies

smacdonald2008
Level 10
December 11, 2018

Is this a Maven archetype generated project. Go to the nodes under /content and see if there are multiple components. ie -- /content/summit-toys/en/jcr:content

Level 4
December 11, 2018

Dear Scott,

I have created the structure in Lazybones and i have copied the out of box components from the maven arc-type 15.

My template contains the component page called MCK/components/structure/mck-home-page and the component page has below 2 htmls.

customfooterlibs.html

<h1> Sunita Footer page </h1>

and customheaderlibs.html

<h1> Sunita Header page </h1>

<div data-sly-resource="${'content' @ resourceType='wcm/foundation/components/parsys'}"></div>

I have not included content in my package. So i am crating the new content , as shown below.

As , not able to attache the ZIP files . After creating the content , when I am dragging the components and refreshing the page then issue is coming.

smacdonald2008
smacdonald2008Accepted solution
Level 10
December 11, 2018

There could be a bug somewhere. Try creating a project for testing purposes using Maven Archetype 15 only. Then open the default EN page and tell us if you see this issue. Follow this article to create a Maven Arch 15 project -- Working with Adobe Experience Manager Carousel Core Components

kautuk_sahni
Community Manager
Community Manager
December 12, 2018

Seems like bug to me.

Kautuk Sahni
Level 4
December 14, 2018

Dear All, After I am using Maven Archetype 15 then it is working fine.

smacdonald2008
Level 10
December 15, 2018

I am happy to hear it's working after you started using Maven Arch 15.