Mahidhar Chaluvadi created SLING-11487:
------------------------------------------

             Summary: getNodes method inconsistent with behavior of getNode 
when using FsNodes to load content resources
                 Key: SLING-11487
                 URL: https://issues.apache.org/jira/browse/SLING-11487
             Project: Sling
          Issue Type: Bug
            Reporter: Mahidhar Chaluvadi


Unsure if this is the right place to log this issue, please advise if its not 
the case.

 

Was using WCM IO & Sling Mocks to load Vault FS content. In the process faced 
multiple issues like not being able to use Modifiable Map on Assets etc. So 
thought of doing a workaround of loading Vault FS content then convert to json 
and reload as there is no issue with json content in the end. In this process 
found that the FsNode object that gets associated with content file only 
retrieves jcr content node but not the other children looking for the child 
entries just from content file. However if you use the getNode method instead 
of getNodes and pass the name pattern, it does retrieve the other folders or 
nodes present. This behavior seems to be inconsistent considering the typical 
behavior of jcr. Appreciate if you can guide us on this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to