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

Rishi Mehta edited comment on SLING-7375 at 1/12/18 11:54 AM:
--------------------------------------------------------------

Examples:
OrderBefore attribute set on overlapping children
{code}
/libs/p1/components/c1
  node1
  node2
/libs/p2/components/c1 (sling:resourceSuperType=/libs/p1/components/c1)
  node1 
  node3 (orderBefore - node2)
  node2 
{code}
is causing an Index Out of bound exception.


was (Author: rishimehta):
Examples:
OrderBefore attribute set on overlapping children
{code}
/libs/p1/components/c1
  node1
  node2
/libs/p2/components/c1 (sling:resourceSuperType=/libs/p1/components/c1)
  node1 
  node3 (orderBefore - node2)
  node2 
{code}
is causing a NPE

> Sling Resource Merger: Moving order using overlapping children causing 
> IndexOutOfBoundException
> -----------------------------------------------------------------------------------------------
>
>                 Key: SLING-7375
>                 URL: https://issues.apache.org/jira/browse/SLING-7375
>             Project: Sling
>          Issue Type: Bug
>    Affects Versions: Resource Merger 1.3.6
>            Reporter: Rishi Mehta
>            Priority: Critical
>
> Due to the changes in https://issues.apache.org/jira/browse/SLING-7366, the 
> order of children affected using overlay is causing index out of bound 
> exception.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to