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 (Assigned) (JIRA)" <ji...@apache.org> on 2011/12/05 17:48:40 UTC

[jira] [Assigned] (SLING-1081) fsresource: allow to adapt to ValueMap

     [ https://issues.apache.org/jira/browse/SLING-1081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler reassigned SLING-1081:
---------------------------------------

    Assignee: Carsten Ziegeler
    
> fsresource: allow to adapt to ValueMap
> --------------------------------------
>
>                 Key: SLING-1081
>                 URL: https://issues.apache.org/jira/browse/SLING-1081
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Stefan Seifert
>            Assignee: Carsten Ziegeler
>         Attachments: 090812_SLING-1081_fsresource_valuemap.patch, 111202_SLING-1081_fsresource_valuemap.patch
>
>
> the fsresource provider is used often to map a maven bundle project in the sling instance allowing to see changes in file without redeployment of the bundle.
> some sling applications accessing such resources always assume they are reading from JCR and try to adapt the resource to a ValueMap, which returns null for fsresources.
> this is of course a bug in this "some applications", but because fsresource is often used in such a scenario it would be helpful to support a simple adapting to ValueMap in the FsResource class.
> patch attached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira