<?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: Content checkin exception in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/content-checkin-exception/m-p/152805#M107428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem was that we had a custom content type whose parent was cm:content. In our custom type, we added cm:versionable as a mandatory aspect but apparently that doesn't work? We added cm:versionable as a mandatory aspect in cm:content and it now works.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jul 2008 16:50:14 GMT</pubDate>
    <dc:creator>joshaber</dc:creator>
    <dc:date>2008-07-07T16:50:14Z</dc:date>
    <item>
      <title>Content checkin exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-checkin-exception/m-p/152804#M107427</link>
      <description>When someone uploads a document of the same name as a file already in the repository, I want to update that file's content to the new file's content.var current = destination.childByNamePath(document.name);if(current != null) {&amp;nbsp;&amp;nbsp;&amp;nbsp;var workingCopy = current.checkout();&amp;nbsp;&amp;nbsp;&amp;nbsp;workingCopy.properties.content</description>
      <pubDate>Mon, 07 Jul 2008 14:21:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-checkin-exception/m-p/152804#M107427</guid>
      <dc:creator>joshaber</dc:creator>
      <dc:date>2008-07-07T14:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Content checkin exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-checkin-exception/m-p/152805#M107428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem was that we had a custom content type whose parent was cm:content. In our custom type, we added cm:versionable as a mandatory aspect but apparently that doesn't work? We added cm:versionable as a mandatory aspect in cm:content and it now works.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 16:50:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-checkin-exception/m-p/152805#M107428</guid>
      <dc:creator>joshaber</dc:creator>
      <dc:date>2008-07-07T16:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Content checkin exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-checkin-exception/m-p/152806#M107429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;(on Community 2.9B)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I periodically receive the same error exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also have a subtype "MyContentType" that has cm:versionable as a mandatory aspect and extends from cm:common.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Although- my method to receive the error is slightly different:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My space has a rule to specialise to my custom content type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;a) If I create new content of type "MyContentType" immediately using the first type dropdown, then I receive no error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;b) If I create new content of type "Content" in order to let the specialise rule kick in convert it to MyContentType, then I receive the error and am not allowed to get past the modify properties page.&amp;nbsp; I can still see the content later, and the Version Label is blank (instead of the default "1.1" when using (a) above.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adding in the above post, there seem to be two work-arounds that are both undesirable:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;w1) Remove the specialise rule and train my staff to always manually choose "MyContentType" when creating new content there &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;w2) Remove the versionable aspect from MyContentType and add it onto cm:content by editing the system config file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there not a better way?&amp;nbsp; This gentleman posted the same problem years ago with &lt;/SPAN&gt;&lt;STRONG&gt;yet another unanswered thread&lt;/STRONG&gt;&lt;SPAN&gt;:&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=5&amp;amp;t=4818&amp;amp;start=0&amp;amp;st=0&amp;amp;sk=t&amp;amp;sd=a" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/en/viewtopic.php?f=5&amp;amp;t=4818&amp;amp;start=0&amp;amp;st=0&amp;amp;sk=t&amp;amp;sd=a&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2008 08:52:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-checkin-exception/m-p/152806#M107429</guid>
      <dc:creator>dwilson</dc:creator>
      <dc:date>2008-07-23T08:52:37Z</dc:date>
    </item>
  </channel>
</rss>

