You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (Jira)" <ji...@apache.org> on 2022/01/25 15:35:00 UTC

[jira] [Updated] (SLING-11087) JSI fails if dynamically including multiple components on same page

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

Robert Munteanu updated SLING-11087:
------------------------------------
    Fix Version/s: Dynamic Include 3.3.2

> 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
>            Priority: Major
>             Fix For: Dynamic Include 3.3.2
>
>   Original Estimate: 1h
>          Time Spent: 20m
>  Remaining Estimate: 40m
>
> 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)