<?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: Custom Document Type Breaks DAM in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/custom-document-type-breaks-dam/m-p/317643#M4644</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;could you share some more details about your custom document type? How is it defined in your extensions.xml under this node&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;At first glance, I would say that the schemas you define are colliding with schemas which have already been defined (we have a thumbnail schema, for instance) but I think we need more info to answer this one &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Sep 2014 17:52:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-12T17:52:32Z</dc:date>
    <item>
      <title>Custom Document Type Breaks DAM</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/custom-document-type-breaks-dam/m-p/317642#M4643</link>
      <description>&lt;P&gt;I have a custom document type created in Studio.
I found that the display of thumbnails and the upload of assets (testing with PDF) into the DAM module failed with the error:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;2014-09-03 21:06:05,844 ERROR [Nuxeo-Work-default-1]     [org.nuxeo.ecm.core.event.impl.AsyncEventExecutor] Failed to execute async event default on listener     updateThumbListener
org.nuxeo.ecm.core.api.model.PropertyNotFoundException: Property not found: thumb:thumbnail
    at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getProperty(DocumentModelImpl.java:1407)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I found the problem seems to be related to the schema definitions in the Studio auto-generated extensions.xml file where I have the custom doc type and other Studio definitions (actually more than 6000 lines of XML):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;require&amp;gt;org.nuxeo.runtime.started&amp;lt;/require&amp;gt;
&amp;lt;extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema"&amp;gt;
...
  &amp;lt;schema name="Thumbnail" prefix="tn" src="data/schemas/thumbnail.xsd"/&amp;gt;
  &amp;lt;schema name="author" prefix="auth" src="data/schemas/author.xsd"/&amp;gt;
...
&amp;lt;/extension&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;DAM works OK when the Thumbnail and author entries for this extension point are missing and fails when they are present.&lt;/P&gt;
&lt;P&gt;I know that I defined the author schema as an 'extra' schema for the custom document type.  I'm not sure about Thumbnail.&lt;/P&gt;
&lt;P&gt;Have I done something wrong or is there a workaround for this problem?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2014 06:48:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/custom-document-type-breaks-dam/m-p/317642#M4643</guid>
      <dc:creator>dweisinger</dc:creator>
      <dc:date>2014-09-04T06:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Document Type Breaks DAM</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/custom-document-type-breaks-dam/m-p/317643#M4644</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;could you share some more details about your custom document type? How is it defined in your extensions.xml under this node&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;At first glance, I would say that the schemas you define are colliding with schemas which have already been defined (we have a thumbnail schema, for instance) but I think we need more info to answer this one &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2014 17:52:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/custom-document-type-breaks-dam/m-p/317643#M4644</guid>
      <dc:creator />
      <dc:date>2014-09-12T17:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Document Type Breaks DAM</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/custom-document-type-breaks-dam/m-p/317644#M4645</link>
      <description>&lt;P&gt;You are right.  I had found that I had defined a schema and assigned it to the custom doctype that contained a property called "Thumbnail".  After removing that schema, the problem went away.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2014 18:10:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/custom-document-type-breaks-dam/m-p/317644#M4645</guid>
      <dc:creator>dweisinger</dc:creator>
      <dc:date>2014-09-12T18:10:54Z</dc:date>
    </item>
  </channel>
</rss>

