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/31 16:41:00 UTC
[jira] [Assigned] (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 reassigned SLING-11087:
---------------------------------------
Assignee: Robert Munteanu
> 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)