You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2012/10/24 09:36:12 UTC
[jira] [Resolved] (SLING-2364) ResourceUtil should provide a method
to get the parent on an arbitrary level
[ https://issues.apache.org/jira/browse/SLING-2364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-2364.
-------------------------------------
Resolution: Fixed
Fix Version/s: API 2.2.6
Thanks for the patch Chaitanya, I'Ve applied a different version which just leverages getParent() in a loop.
> ResourceUtil should provide a method to get the parent on an arbitrary level
> ----------------------------------------------------------------------------
>
> Key: SLING-2364
> URL: https://issues.apache.org/jira/browse/SLING-2364
> Project: Sling
> Issue Type: Improvement
> Components: API
> Affects Versions: API 2.2.2
> Reporter: Konrad Windszus
> Assignee: Carsten Ziegeler
> Fix For: API 2.2.6
>
> Attachments: getParent.patch
>
>
> Please provide the method "String getAbsoluteParent(String path, int level)" to return the parent path on the given level.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira