[ 
https://issues.apache.org/jira/browse/SLING-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618354#action_12618354
 ] 

Bertrand Delacretaz commented on SLING-567:
-------------------------------------------

Wouldn't it be less surprising to the user to flush by default?

I see your reasoning, but from the user's point of view the default behavior is 
definitely not what you want.

> sling.include inclides fragments in the wrong order
> ---------------------------------------------------
>
>                 Key: SLING-567
>                 URL: https://issues.apache.org/jira/browse/SLING-567
>             Project: Sling
>          Issue Type: Bug
>    Affects Versions: Scripting JSP 2.0.2
>            Reporter: Michael Marth
>
> (This is observed in revision 670551)
> consider a jsp "/apps/myapp/a.jsp" which contains:
> aaa
> <% sling.include(currentNode.getPath() + ".b.html"); %>
> and another jsp "/apps/myapp/b.jsp" which contains
> bbb
> if i execute /content/myapp/mynode.a.html i get
> bbb
> aaa
> expected result is:
> aaa
> bbb

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to