<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Thu May 23 05:59:57 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-2107/DDC-2107.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-2107] Debug::dump lists the wrong access level for some attributes</title>
                <link>http://www.doctrine-project.org/jira/browse/DDC-2107</link>
                <project id="10032" key="DDC">Doctrine 2 - ORM</project>
                        <description>&lt;p&gt;\Doctrine\Common\Util\Debug::dump() shows the wrong access level for some attributes. The below code reproduces the bug:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
\Doctrine\Common\Util\Debug::dump(
    &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \Doctrine\ORM\Query\Expr\Select()
);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;\Doctrine\ORM\Query\Expr\Select and \Doctrine\ORM\Query\Expr\Base define a bunch of protected class attributes, however, the Dump method fails to indicate their correct access level.&lt;/p&gt;

&lt;p&gt;Expected result:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
object(stdClass)[740]
  &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; &apos;__CLASS__&apos; =&amp;gt; string &apos;Doctrine\ORM\Query\Expr\Select&apos; (length=30)
  &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; &apos;preSeparator&apos; =&amp;gt; string &apos;&apos; (length=0)
  &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; &apos;postSeparator&apos; =&amp;gt; string &apos;&apos; (length=0)
  &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; &apos;allowedClasses&apos; =&amp;gt; 
    array (size=1)
      0 =&amp;gt; string &apos;Doctrine\ORM\Query\Expr\Func&apos; (length=28)
  &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; &apos;separator&apos; =&amp;gt; string &apos;, &apos; (length=2)
  &lt;span class=&quot;code-keyword&quot;&gt;protected&lt;/span&gt; &apos;parts&apos; =&amp;gt; 
    array (size=0)
      empty
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Actual result:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
object(stdClass)[740]
  &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; &apos;__CLASS__&apos; =&amp;gt; string &apos;Doctrine\ORM\Query\Expr\Select&apos; (length=30)
  &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; &apos;preSeparator&apos; =&amp;gt; string &apos;&apos; (length=0)
  &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; &apos;postSeparator&apos; =&amp;gt; string &apos;&apos; (length=0)
  &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; &apos;allowedClasses&apos; =&amp;gt; 
    array (size=1)
      0 =&amp;gt; string &apos;Doctrine\ORM\Query\Expr\Func&apos; (length=28)
  &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; &apos;separator&apos; =&amp;gt; string &apos;, &apos; (length=2)
  &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; &apos;parts&apos; =&amp;gt; 
    array (size=0)
      empty
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>Linux</environment>
            <key id="14174">DDC-2107</key>
            <summary>Debug::dump lists the wrong access level for some attributes</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/trivial.png">Trivial</priority>
                    <status id="5" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="6">Invalid</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="gzankevich">George Zankevich</reporter>
                        <labels>
                    </labels>
                <created>Mon, 29 Oct 2012 15:35:58 +0000</created>
                <updated>Sat, 9 Feb 2013 20:24:57 +0000</updated>
                    <resolved>Sat, 9 Feb 2013 20:24:37 +0000</resolved>
                            <version>2.2.2</version>
                                                <component>Tools</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>3</watches>
                        <comments>
                    <comment id="19497" author="asm89" created="Sat, 9 Feb 2013 20:24:37 +0000"  >&lt;p&gt;This is not a bug. It&apos;s the way the dumper works. The functionality of the dumper lies within limiting the depth of the dumping. It does this by reconstructing the object in an `stdClass` object. If you have xdebug installed this will show all the properties as public.&lt;/p&gt;</comment>
                    <comment id="19498" author="ocramius" created="Sat, 9 Feb 2013 20:24:39 +0000"  >&lt;p&gt;This is not a bug, but a limitation. Since values are copied over from a real instance into an `stdClass`, we cannot reproduce the original object&apos;s property visibility&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>