<?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 Minimum development version for complex property query? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/minimum-development-version-for-complex-property-query/m-p/316376#M3377</link>
    <description>&lt;P&gt;I am working on a plugin and I am at the point where querying complex properties would come handy. Sadly, even thought my query seems correct, it doesn't work, and I have no idea why it doesn't, or whether it should work at all with the Nuxeo version I am using.&lt;/P&gt;
&lt;P&gt;The query is the following:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;SELECT * FROM ConservationRule WHERE conservation:delays/semiactive = 2
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Querying the following schema fragment:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;xs:complexType name="delaysType"&amp;gt;
    &amp;lt;xs:sequence&amp;gt;
        &amp;lt;xs:element name="delay" type="am:conservationDelay" minOccurs="0" maxOccurs="unbounded" /&amp;gt;
    &amp;lt;/xs:sequence&amp;gt;
&amp;lt;/xs:complexType&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The error message I get is the following:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;org.nuxeo.ecm.core.api.ClientException: Failed to execute query: No such property: conservation:delays/semiactive
        at org.nuxeo.ecm.core.api.AbstractSession.query(AbstractSession.java:1555)
        at org.nuxeo.ecm.core.api.AbstractSession.query(AbstractSession.java:1446)
        at com.rlnx.nuxeo.am.tests.AmAnythingTest.testComplexPropertyNXQL(AmAnythingTest.java:13)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I have set my plugin to use version 5.4.3-SNAPSHOT, or 5.4.3-I20111024_2229. Both give the same result.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Nov 2011 19:31:18 GMT</pubDate>
    <dc:creator>fdgonthier_</dc:creator>
    <dc:date>2011-11-09T19:31:18Z</dc:date>
    <item>
      <title>Minimum development version for complex property query?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/minimum-development-version-for-complex-property-query/m-p/316376#M3377</link>
      <description>&lt;P&gt;I am working on a plugin and I am at the point where querying complex properties would come handy. Sadly, even thought my query seems correct, it doesn't work, and I have no idea why it doesn't, or whether it should work at all with the Nuxeo version I am using.&lt;/P&gt;
&lt;P&gt;The query is the following:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;SELECT * FROM ConservationRule WHERE conservation:delays/semiactive = 2
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Querying the following schema fragment:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;xs:complexType name="delaysType"&amp;gt;
    &amp;lt;xs:sequence&amp;gt;
        &amp;lt;xs:element name="delay" type="am:conservationDelay" minOccurs="0" maxOccurs="unbounded" /&amp;gt;
    &amp;lt;/xs:sequence&amp;gt;
&amp;lt;/xs:complexType&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The error message I get is the following:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;org.nuxeo.ecm.core.api.ClientException: Failed to execute query: No such property: conservation:delays/semiactive
        at org.nuxeo.ecm.core.api.AbstractSession.query(AbstractSession.java:1555)
        at org.nuxeo.ecm.core.api.AbstractSession.query(AbstractSession.java:1446)
        at com.rlnx.nuxeo.am.tests.AmAnythingTest.testComplexPropertyNXQL(AmAnythingTest.java:13)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I have set my plugin to use version 5.4.3-SNAPSHOT, or 5.4.3-I20111024_2229. Both give the same result.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2011 19:31:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/minimum-development-version-for-complex-property-query/m-p/316376#M3377</guid>
      <dc:creator>fdgonthier_</dc:creator>
      <dc:date>2011-11-09T19:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Minimum development version for complex property query?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/minimum-development-version-for-complex-property-query/m-p/316377#M3378</link>
      <description>&lt;P&gt;What is your version of Nuxeo?&lt;/P&gt;
&lt;P&gt;If the version is not the trunk of Nuxeo you will not have the possibility to do that. We introduce Query on Complex Type for Nuxeo 5.5. See &lt;A href="https://jira.nuxeo.com/browse/NXP-4464"&gt;Here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Nuxeo 5.5 will be released really soon.&lt;/P&gt;
&lt;P&gt;Hope, will help you...&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2011 23:11:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/minimum-development-version-for-complex-property-query/m-p/316377#M3378</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2011-11-09T23:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Minimum development version for complex property query?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/minimum-development-version-for-complex-property-query/m-p/316378#M3379</link>
      <description>&lt;P&gt;I had not spotted the Fix Version entry on this bug, but your documentation on doc.nuxeo.com seems to indicate that queries on complex properties will be available in Nuxeo 5.4.3. I expected that a development version of 5.4.3 would have that feature.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2011 00:30:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/minimum-development-version-for-complex-property-query/m-p/316378#M3379</guid>
      <dc:creator>fdgonthier_</dc:creator>
      <dc:date>2011-11-10T00:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Minimum development version for complex property query?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/minimum-development-version-for-complex-property-query/m-p/316379#M3380</link>
      <description>&lt;P&gt;There won't be a 5.4.3 release, it is replaced by 5.5.&amp;lt;br&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2011 13:53:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/minimum-development-version-for-complex-property-query/m-p/316379#M3380</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2011-11-14T13:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Minimum development version for complex property query?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/minimum-development-version-for-complex-property-query/m-p/316380#M3381</link>
      <description>&lt;P&gt;The documentation is currently being updated to follow those changes.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2011 14:49:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/minimum-development-version-for-complex-property-query/m-p/316380#M3381</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2011-11-14T14:49:05Z</dc:date>
    </item>
  </channel>
</rss>

