[
https://issues.apache.org/jira/browse/SLING-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578173#action_12578173
]
fmeschbe edited comment on SLING-259 at 3/13/08 12:46 AM:
-------------------------------------------------------------------
Fixed as indicated in previous comments in Rev. 636658.
Now a BundleResource is only created, if ...
* the path addresses an existing Bundle resource file
or
* the path addresses an existing Bundle resource folder and no repository
item of the same name exists
Otherwise, particularly in case of a Bundle resource folder hiding an existing
repository item, no BundleResource is returned.
As a consequence BundleResource instances do not adapt to repository items any
more. This would just be very confusing as one resource might have two
different contents (as per InputStream) and URLs.
was (Author: fmeschbe):
Fixed as indicated in previous comments in Rev. 636658.
Now a BundleResource is only created, if ...
* the path addresses an existing Bundle resource file
or
* the path addresses an existing Bundle resource folder and no repository
item of the same name exists
Otherwise, particularly in case of a Bundle resource folder hiding an existing
repository item, no BundleResource is returned.
> Bundle based Resource should be able to adapt to Repository Item
> ----------------------------------------------------------------
>
> Key: SLING-259
> URL: https://issues.apache.org/jira/browse/SLING-259
> Project: Sling
> Issue Type: Improvement
> Components: Resource
> Reporter: Dominique Jäggi
> Assignee: Felix Meschberger
> Fix For: 2.0.0
>
>
> When using bundle based Resources, items stored in the repository may be
> hidden by the actual bundle resources. This is ok for file-like resources but
> might be problematic in some situations for folders.
> It would probably be helpfull, if bundle based resources would be able to
> adapt to repository items if an item would exist at the path of the resource.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.