[ https://issues.apache.org/jira/browse/SLING-11764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Munteanu resolved SLING-11764. ------------------------------------- Resolution: Fixed Thanks for the follow-up [~abhigarg], I've merged the second PR as well. > 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 > Assignee: Abhishek Garg > Priority: Major > Fix For: Content-Package to Feature Model Converter 1.1.26 > > > 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)