Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1882

Problems getting the binary value from a federated node

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 3.2.0.Final
    • 3.1.3.Final
    • Federation
    • None
    • Hide

      Configure a repository to use federation to project a view of an external filesystem and attempt to get a stream from the Binary created for the content of a federated nt:file node. An exception is thrown indicating that the internal binary store doesn't contain the requested data, unless the repository configuration specifies a "minimumBinarySizeInBytes" value less than the size of the external file.

      Show
      Configure a repository to use federation to project a view of an external filesystem and attempt to get a stream from the Binary created for the content of a federated nt:file node. An exception is thrown indicating that the internal binary store doesn't contain the requested data, unless the repository configuration specifies a "minimumBinarySizeInBytes" value less than the size of the external file.

    Description

      Getting a stream for the content of an external file accessed through federation throws an exception unless the binary value is present in the internal binary store.

      The UrlBinaryValue created by FileSystemConnector (when getNode("jcr:content") is called on the nt:file node) has the total partition size rather than the file size.

      Attachments

        Activity

          People

            rhauch Randall Hauch (Inactive)
            mashtun Mark Scott (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: