Touchui editor: How to avoid that the editing page gets loaded twice | Adobe Higher Education
Skip to main content
October 16, 2015
Pregunta

Touchui editor: How to avoid that the editing page gets loaded twice

  • October 16, 2015
  • 4 respuestas
  • 1018 visualizaciones

Hi,
in AEM 6.1 with touch-ui the page I want to edit gets always loaded twice:

First the editor:  /editor.html/content/geometrixx/en.html
then the actual content page in an IFRAME:  /content/geometrixx/en.html
then again the conten page, but with an timestamp: /content/geometrixx/en.html?_=1444244532322

Is there any way to avoid this?
Thanks!

Este tema ha sido cerrado para respuestas.

4 respuestas

Sham_HC
Level 10
October 16, 2015

sounds like you have custom library which is using jquery hooked into aem author library.

smacdonald2008
Level 10
October 16, 2015

I have never seen this behavior with AEM. When I load a page to edit in AEM 6.1 - it only loads 1 time: 

[img]pagetwice.png[/img]

Has this always happened with AEM 6.1 or only after some change was made. 

October 16, 2015


It happens always on the first page load, requesting e.g. http://localhost:4502/editor.html/content/geometrixx/en.html

On page load the following requests to html pages are made:
/editor.html/content/geometrixx/en.html
/content/geometrixx/en.html
/libs/wcm/core/content/editor/tour/content.html?_=1444257581510   
/libs/cq/personalization/touch-ui/content/targeteditor.html?_=1444257581511
/content/geometrixx/en.html?_=1444257581512    
/libs/wcm/msm/content/touch-ui/authoring/rolloutoptions.html?_=1444257581514
/libs/wcm/core/content/components.1444256533183.html?_=1444257581515

The second request to /content/geometrixx/en.html?_=1444257581512 does not seem to have any effect on the page. At least the content of the "ContentFrame" iframe contains the original /content/geometrixx/en.html (without the _ parameter).
There is a comment in the code of the editor.js where the second request is fired: "Is fired every time the url of the iframe is changed (e.g. click on a inner link)"

I guess there is not much I can do about it. Thanks anyway!

October 16, 2015

It isn´t something you notice just by looking at the page. We are currently trying to improve the performance of the author interface. That´s why I analyzed the requests on ../editor.html/.. page loads with a proxy tool.
I could reproduce it on a plain 6.1 editing geometrixx content.