[ 
https://issues.apache.org/jira/browse/SLING-11087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Munteanu resolved SLING-11087.
-------------------------------------
    Resolution: Fixed

PR merged, thanks for the submission [~jar-miracle]!

> JSI fails if dynamically including multiple components on same page
> -------------------------------------------------------------------
>
>                 Key: SLING-11087
>                 URL: https://issues.apache.org/jira/browse/SLING-11087
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Dynamic Include 3.3.0
>            Reporter: Jakob Rosenlund
>            Assignee: Robert Munteanu
>            Priority: Major
>             Fix For: Dynamic Include 3.3.2
>
>   Original Estimate: 1h
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> Using Javascript Includes (JSI) in Sling Dynamic Include 3.3.0 on a page with 
> two or more components to be fetched through AJAX will show one component 
> multiple times.
> This occurs due to the keyword "var" being used in the javascript template, 
> rather than the keyword "let". The difference is whether it is a variable 
> with global scope or local scope.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to