<?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: VersionModel : getDescription() does not work ? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/versionmodel-getdescription-does-not-work/m-p/326581#M13582</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;</description>
    <pubDate>Thu, 28 Nov 2013 13:54:45 GMT</pubDate>
    <dc:creator>zyx974_</dc:creator>
    <dc:date>2013-11-28T13:54:45Z</dc:date>
    <item>
      <title>VersionModel : getDescription() does not work ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/versionmodel-getdescription-does-not-work/m-p/326580#M13581</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I want to use a listener to delete automaticaly old archived version (autoversionning is activated) which do not have a comment when a user increment the version. Unfortunately, the method getDescription() of VersionModel always returns a null String :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;DocumentRef docRef = model.getRef();
CoreSession session = model.getCoreSession();
List&amp;lt;VersionModel&amp;gt; versions = session.getVersionsForDocument(docRef);
for (VersionModel currentVersion : versions) {
	String desc = currentVersion.getDescription();
    //desc is always null
    ...
}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Is this the good way to do or is this a bug ?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 07:19:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/versionmodel-getdescription-does-not-work/m-p/326580#M13581</guid>
      <dc:creator>zyx974_</dc:creator>
      <dc:date>2013-09-12T07:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: VersionModel : getDescription() does not work ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/versionmodel-getdescription-does-not-work/m-p/326581#M13582</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2013 13:54:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/versionmodel-getdescription-does-not-work/m-p/326581#M13582</guid>
      <dc:creator>zyx974_</dc:creator>
      <dc:date>2013-11-28T13:54:45Z</dc:date>
    </item>
  </channel>
</rss>

