Hello,
I have seen this issue a couple of times. In every case it has been because
sightly would initialize the same class twice, first using the adaptTo and
then the java Pojo provider. This was caused in every case by an error in the
Post Construct method of the Sling Model class, which
Hi again,
Made a quick test on an AEM instance.
I did get the duplicated sling model processed, but only in author mode when
using touchUI in editor window. in every other case it is only one. Also they
seemed to be two different requests, so each model is still processed once per
request.
Thanks for the reply but in my case there is no error , both the times it is
working properly without any issue.
So now for you is it making only one call ?
In my case the problem is page is getting heavy and it is impacting
performance very badly .
So I looking for the solution to avoid more
Hi,
Can you please elaborate how you have resolved the problem as we are also
facing the same.
AEM 6.1 sightly.
Thanks
Naveen
--
View this message in context:
http://apache-sling.73963.n3.nabble.com/Components-each-process-twice-tp4070042p4070836.html
Sent from the Sling - Users mailing list