Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-11764

jcr:content node missing for file resources generated in binaries index defintions

    XMLWordPrintableJSON

Details

    Description

      The index definition files generated by the cpcconvertor are missing mandatory jcr:content nodes.

      How the resource should look:

          "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"
              }
            }
          }
      

       

      How it looks like now:

            "tika":{
               "jcr:primaryType":"nam:nt:unstructured",
               "config.xml":{
                  "jcr:primaryType":"nam:nt:file",
                "jcr:data":":blobid:<binary_data>"
               }
            }

       

      there is no jcr:content node present

      Attachments

        Activity

          People

            abhigarg Abhishek Garg
            abhigarg Abhishek Garg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: