[
https://issues.apache.org/jira/browse/SLING-6868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16193065#comment-16193065
]
Andrei Dulvac commented on SLING-6868:
--------------------------------------
[~cziegeler], That's because I'm making a jcr query to get the resource from
the fqdn property in a subtree of the repo:
https://github.com/apache/sling/blob/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi/impl/HApiUtilImpl.java#L173-L190
This obviously doesn't work. I don't really know how to proceed...
I had a look at https://sling.apache.org/documentation/bundles/sling-query.html
but that's not much of a query, just trivial traversal - no indices, etc.
Any ideas?
> Initial content should be migrated to bundle resources
> ------------------------------------------------------
>
> Key: SLING-6868
> URL: https://issues.apache.org/jira/browse/SLING-6868
> Project: Sling
> Issue Type: Bug
> Components: HApi
> Affects Versions: HApi 1.0.0
> Reporter: Carsten Ziegeler
> Assignee: Andrei Dulvac
> Fix For: HApi 1.1.0
>
>
> Currently the initial content in the hapi bundle does not specify a path,
> which means it is using "/".
> When applied at the wrong time, it potentially could wipe the whole
> repository. In addition initial content should always be specified with the
> most specific path (the tree the bundle is owning)
> So the path is something like /libs/sling/hapi
> or even
> /libs/sling/hapi/components
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)