<?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: CMIS query is querying Relationship instead of Type - Naming clash for Alfresco Type and Association in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cmis-query-is-querying-relationship-instead-of-type-naming-clash/m-p/279103#M232233</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From debugging through the CMISQueryParser, it looks up the Type Definition using the CMIS Dictionary Service (CMISStrictDictionaryService and CMISAbstractDictionaryService) using &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;findTypeByQueryName(tableName)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;. tableName is "tdm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ublicManual"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The dictionary service uses a registry which is mapping names to Type definitions…so more than likely, the mapping of tdm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ublicManual to the Type named "tdm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ublicManual" is being overwritten in the Map by the association named "tdm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ublicManual".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Whether the model is inherently flawed or not, I'm not sure, but certainly the CMIS Query Parser is not compatible with it as it is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is looking like an update to the model and a data fix script.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Mar 2014 10:22:21 GMT</pubDate>
    <dc:creator>patquinn00</dc:creator>
    <dc:date>2014-03-27T10:22:21Z</dc:date>
    <item>
      <title>CMIS query is querying Relationship instead of Type - Naming clash for Alfresco Type and Association</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-query-is-querying-relationship-instead-of-type-naming-clash/m-p/279102#M232232</link>
      <description>Executing this simple query using CMIS Workbench fails&lt;IMG id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;ELECT * FROM tdm&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ublicManual‍‍‍We get this log output:Mar 26, 2014 5:11:42 PM org.apache.solr.common.SolrException logSEVERE: org.apache.chemistry.opencmis.commons.exceptions.CmisInvalidArgumentException: Type is not queryable tdm&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ublicManual</description>
      <pubDate>Thu, 27 Mar 2014 09:33:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-query-is-querying-relationship-instead-of-type-naming-clash/m-p/279102#M232232</guid>
      <dc:creator>patquinn00</dc:creator>
      <dc:date>2014-03-27T09:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS query is querying Relationship instead of Type - Naming clash for Alfresco Type and Association</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-query-is-querying-relationship-instead-of-type-naming-clash/m-p/279103#M232233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From debugging through the CMISQueryParser, it looks up the Type Definition using the CMIS Dictionary Service (CMISStrictDictionaryService and CMISAbstractDictionaryService) using &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;findTypeByQueryName(tableName)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;. tableName is "tdm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ublicManual"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The dictionary service uses a registry which is mapping names to Type definitions…so more than likely, the mapping of tdm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ublicManual to the Type named "tdm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ublicManual" is being overwritten in the Map by the association named "tdm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ublicManual".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Whether the model is inherently flawed or not, I'm not sure, but certainly the CMIS Query Parser is not compatible with it as it is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is looking like an update to the model and a data fix script.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 10:22:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-query-is-querying-relationship-instead-of-type-naming-clash/m-p/279103#M232233</guid>
      <dc:creator>patquinn00</dc:creator>
      <dc:date>2014-03-27T10:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: CMIS query is querying Relationship instead of Type - Naming clash for Alfresco Type and Association</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmis-query-is-querying-relationship-instead-of-type-naming-clash/m-p/279104#M232234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In CMIS Specification a relationship object MAY be queryable,but now alfresco does not support queries for relationship type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So in my opinion ,you'd better avoid defining an association with same name as a a type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Mar 2014 14:24:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmis-query-is-querying-relationship-instead-of-type-naming-clash/m-p/279104#M232234</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-03-27T14:24:36Z</dc:date>
    </item>
  </channel>
</rss>

