<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Bugged node.getProperty('cm:content').getStream(). in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/bugged-node-getproperty-cm-content-getstream/m-p/24131#M11750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks as if the content is not available to the repo.&amp;nbsp; Typically this happens because the &lt;/SPAN&gt;&lt;STRONG&gt;dir.root&lt;/STRONG&gt;&lt;SPAN&gt; property has not been set to a fixed location and the tests get run against the same database but from different locations.&amp;nbsp; So the metadata is all there with the size and URL, but the stream is empty.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.alfresco.org/mediawiki/index.php/Development_Environment#Developer_Runtime_Configuration" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/mediawiki/index.php/Development_Environment#Developer_Runtime_Configuration&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's just a guess, though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Mar 2006 12:20:35 GMT</pubDate>
    <dc:creator>derek</dc:creator>
    <dc:date>2006-03-07T12:20:35Z</dc:date>
    <item>
      <title>Bugged node.getProperty('cm:content').getStream().</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bugged-node-getproperty-cm-content-getstream/m-p/24130#M11749</link>
      <description>Is this a bug or am I missing something?Property content = pathNode.getProperty("cm:content");InputStream in = content.getStream();System.out.println("in.avalable() = " + in.available());System.out.println("content.getLength() = " + content.getLength());feeding node with GIF image to code aboveoutpu</description>
      <pubDate>Tue, 28 Feb 2006 14:48:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bugged-node-getproperty-cm-content-getstream/m-p/24130#M11749</guid>
      <dc:creator>alexeyg</dc:creator>
      <dc:date>2006-02-28T14:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Bugged node.getProperty('cm:content').getStream().</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bugged-node-getproperty-cm-content-getstream/m-p/24131#M11750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks as if the content is not available to the repo.&amp;nbsp; Typically this happens because the &lt;/SPAN&gt;&lt;STRONG&gt;dir.root&lt;/STRONG&gt;&lt;SPAN&gt; property has not been set to a fixed location and the tests get run against the same database but from different locations.&amp;nbsp; So the metadata is all there with the size and URL, but the stream is empty.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.alfresco.org/mediawiki/index.php/Development_Environment#Developer_Runtime_Configuration" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/mediawiki/index.php/Development_Environment#Developer_Runtime_Configuration&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's just a guess, though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 12:20:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bugged-node-getproperty-cm-content-getstream/m-p/24131#M11750</guid>
      <dc:creator>derek</dc:creator>
      <dc:date>2006-03-07T12:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Bugged node.getProperty('cm:content').getStream().</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bugged-node-getproperty-cm-content-getstream/m-p/24132#M11751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know that this is after very long time. I have uploaded a file and modified my code to download the same. This simply says that my dir.root has not been changed bcoz I am working on same project. Stuck with number zero even now &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt; Im using Alfresco 3.4d version. Please do help on how to download the uploaded files. I am able to see the metadata and contentLength() but stream.available is returning zero.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2011 05:29:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bugged-node-getproperty-cm-content-getstream/m-p/24132#M11751</guid>
      <dc:creator>tezzzzz</dc:creator>
      <dc:date>2011-09-29T05:29:07Z</dc:date>
    </item>
  </channel>
</rss>

