You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Abhishek Garg (Jira)" <ji...@apache.org> on 2023/01/26 13:55:00 UTC

[jira] [Updated] (SLING-11764) jcr:content node missing for file resources generated in binaries index defintions

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

Abhishek Garg updated SLING-11764:
----------------------------------
    Issue Type: Bug  (was: Improvement)

> jcr:content node missing for file resources generated in binaries index defintions
> ----------------------------------------------------------------------------------
>
>                 Key: SLING-11764
>                 URL: https://issues.apache.org/jira/browse/SLING-11764
>             Project: Sling
>          Issue Type: Bug
>          Components: Content-Package to Feature Model Converter
>    Affects Versions: Content-Package to Feature Model Converter 1.1.26
>            Reporter: Abhishek Garg
>            Priority: Major
>
> The index definition files generated by the cpcconvertor are missing mandatory jcr:content nodes.
> How the resource should look:
> {code:java}
>     "tika": {
>       "jcr:primaryType": "nam:nt:unstructured",
>       "config.xml": {
>         "jcr:primaryType": "nam:nt:file",
>         "jcr:content": {
>           "jcr:mimeType": "text/xml",
>           "jcr:data": ":blobId:<binary_data>",
>           "jcr:primaryType": "nam:nt:resource"
>         }
>       }
>     }
> {code}
>  
> How it looks like now:
> {code:java}
>       "tika":{
>          "jcr:primaryType":"nam:nt:unstructured",
>          "config.xml":{
>             "jcr:primaryType":"nam:nt:file",
>           "jcr:data":":blobid:<binary_data>"
>          }
>       }{code}
>  
> there is no jcr:content node present



--
This message was sent by Atlassian Jira
(v8.20.10#820010)