<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Sun May 19 11:00:26 UTC 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.doctrine-project.org/jira/si/jira.issueviews:issue-xml/DDC-1848/DDC-1848.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Doctrine Project</title>
    <link>http://www.doctrine-project.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.7</version>
        <build-number>850</build-number>
        <build-date>21-02-2013</build-date>
    </build-info>

<item>
            <title>[DDC-1848] &quot;QueryException: Invalid parameter number: number of bound variables does not match number of tokens&quot; with &quot;dev-master&quot; of Doctrine\ORM + Pagerfanta.</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-1848</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;Using Symfony2 master with Doctrine\ORM master &amp;amp; Pagerfanta paginator (which uses Doctrine paginator internally) causes this exception.&lt;/p&gt;

&lt;p&gt;&quot;QueryException: Invalid parameter number: number of bound variables does not match number of tokens&quot;. Works fine with the master of Symfony &amp;amp; same version of Pagerfanta, but with 2.2 of Doctrine ORM.&lt;/p&gt;

&lt;p&gt;Full app to see it is available here: &lt;a href=&quot;http://github.com/Sylius/Sylius-Sandbox&quot; class=&quot;external-link&quot;&gt;http://github.com/Sylius/Sylius-Sandbox&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Full trace (without twig and Symfony part)&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;1/2&amp;#93;&lt;/span&gt; QueryException: Invalid parameter number: number of bound variables does not match number of tokens   &lt;br/&gt;
in /home/pjedrzejewski/Sylius.org/workspace/Sandbox/vendor/doctrine/orm/lib/Doctrine/ORM/Query/QueryException.php at line 72    &lt;br/&gt;
at QueryException ::invalidParameterNumber () &lt;br/&gt;
in /home/pjedrzejewski/Sylius.org/workspace/Sandbox/vendor/doctrine/orm/lib/Doctrine/ORM/Query.php at line 255    &lt;br/&gt;
at Query -&amp;gt;_doExecute () &lt;br/&gt;
in /home/pjedrzejewski/Sylius.org/workspace/Sandbox/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php at line 737    &lt;br/&gt;
at AbstractQuery -&amp;gt;execute (null, &apos;3&apos;) &lt;br/&gt;
in /home/pjedrzejewski/Sylius.org/workspace/Sandbox/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php at line 562    &lt;br/&gt;
at AbstractQuery -&amp;gt;getScalarResult () &lt;br/&gt;
in /home/pjedrzejewski/Sylius.org/workspace/Sandbox/vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/Paginator.php at line 144   &lt;br/&gt;
at Paginator -&amp;gt;count () &lt;br/&gt;
at count (object(Paginator)) &lt;br/&gt;
in /home/pjedrzejewski/Sylius.org/workspace/Sandbox/vendor/pagerfanta/pagerfanta/src/Pagerfanta/Adapter/DoctrineORMAdapter.php at line 75    &lt;br/&gt;
at DoctrineORMAdapter -&amp;gt;getNbResults () &lt;br/&gt;
in /home/pjedrzejewski/Sylius.org/workspace/Sandbox/vendor/pagerfanta/pagerfanta/src/Pagerfanta/Pagerfanta.php at line 167    &lt;br/&gt;
at Pagerfanta -&amp;gt;getNbResults () &lt;br/&gt;
in /home/pjedrzejewski/Sylius.org/workspace/Sandbox/vendor/pagerfanta/pagerfanta/src/Pagerfanta/Pagerfanta.php at line 190    &lt;br/&gt;
at Pagerfanta -&amp;gt;haveToPaginate () &lt;/p&gt;
</description>
                <environment></environment>
            <key id="13744">DDC-1848</key>
            <summary>&quot;QueryException: Invalid parameter number: number of bound variables does not match number of tokens&quot; with &quot;dev-master&quot; of Doctrine\ORM + Pagerfanta.</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="pjedrzejewski">Pawe&#322; J&#281;drzejewski</reporter>
                        <labels>
                    </labels>
                <created>Wed, 30 May 2012 20:50:58 +0000</created>
                <updated>Sun, 8 Jul 2012 16:35:22 +0000</updated>
                    <resolved>Sun, 8 Jul 2012 16:35:22 +0000</resolved>
                            <version>Git Master</version>
                                <fixVersion>2.3</fixVersion>
                                <component>ORM</component>
                        <due></due>
                    <votes>1</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="18033" author="umpirsky" created="Thu, 31 May 2012 10:34:19 +0000"  >&lt;p&gt;I tested Sylius against this issue with each commit from doctrine master branch, and I find out that bug appeared in this &lt;a href=&quot;https://github.com/doctrine/doctrine2/commit/1635e0af4b06ef3015205563b59b505ae3fac69d&quot; class=&quot;external-link&quot;&gt;https://github.com/doctrine/doctrine2/commit/1635e0af4b06ef3015205563b59b505ae3fac69d&lt;/a&gt; commit.&lt;/p&gt;</comment>
                    <comment id="18244" author="ocramius" created="Sun, 8 Jul 2012 16:10:17 +0000"  >&lt;p&gt;Could you check if this isn&apos;t the same problem reported at &lt;a href=&quot;http://www.doctrine-project.org/jira/browse/DDC-1803&quot; title=&quot;Paginator usage with a DQL query that is using 2 time the same named binded value failed&quot;&gt;DDC-1803&lt;/a&gt;?&lt;/p&gt;</comment>
                    <comment id="18249" author="beberlei" created="Sun, 8 Jul 2012 16:35:22 +0000"  >&lt;p&gt;Fixed&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>