[ 
https://issues.apache.org/jira/browse/SLING-553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608559#action_12608559
 ] 

Carsten Ziegeler commented on SLING-553:
----------------------------------------

Thanks for your patch, Bryce.

Before applying, I've on question: while resolving the uuid of a node, you have 
a special case handling for nt:file and nt:folder - if they're not 
referenceable, you make nodes of these type referenceable. What is the reason 
for this?


> Allow references and paths to be loaded from JSON through JsonReader
> --------------------------------------------------------------------
>
>                 Key: SLING-553
>                 URL: https://issues.apache.org/jira/browse/SLING-553
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR Contentloader
>    Affects Versions: JCR Contentloader 2.0.2
>            Reporter: Bryce Ewing
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>         Attachments: contentloader.patch
>
>
> Allows references and paths to be loaded from json through JsonReader, when a 
> value starts with "reference:" or "path:".  Also needed to be able to 
> reference a file that had been loaded in from say test.html which loads as 
> just nt:file, so thought that when a reference is made to a nt:file type then 
> automatically add the "mix:referenceable" type.
> If either of these options doesn't seem like a good idea please let me know 
> what some other options might be.
> Cheers Bryce

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to