<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Wed May 22 20:22:12 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/DBAL-178/DBAL-178.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>[DBAL-178] Unknown column type  requested</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-178</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>
&lt;p&gt;When I run doctrine:schema:create, doctrine throw the following exception:&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;Doctrine\DBAL\DBALException&amp;#93;&lt;/span&gt;    &lt;br/&gt;
  Unknown column type  requested. &lt;/p&gt;

&lt;p&gt;( Note: their is 2 spaces between type and requested )&lt;/p&gt;

&lt;p&gt;The problem with this error message is how much it&apos;s unspecific. Event with -v, I still have no clue about that type is wrong, and what file is concerned.&lt;br/&gt;
So basically, I have to manually look at all my mapping files, one by one.&lt;/p&gt;

&lt;p&gt;Also note that doctrine:mapping:info return all OK.&lt;/p&gt;</description>
                <environment>OSX ( Using Symfony2 )</environment>
            <key id="13142">DBAL-178</key>
            <summary>Unknown column type  requested</summary>
                <type id="4" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/improvement.png">Improvement</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="fmaz008">Francois Mazerolle</reporter>
                        <labels>
                    </labels>
                <created>Wed, 2 Nov 2011 19:25:10 +0000</created>
                <updated>Tue, 26 Jun 2012 21:06:00 +0000</updated>
                    <resolved>Tue, 26 Jun 2012 21:06:00 +0000</resolved>
                                            <fixVersion>2.3</fixVersion>
                                        <due></due>
                    <votes>1</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="16899" author="dswindle" created="Mon, 21 Nov 2011 17:01:43 +0000"  >&lt;p&gt;Ironically, this same issue has recently started happening for me as well.  It just started randomly over the weekend. Same exact issue (with 2 spaces between type and requested).  For me, it happens when using Doctrine\ORM\EntityManager-&amp;gt;find() on a valid entity.&lt;/p&gt;

&lt;p&gt;#0 /doctrine-2.1.2/Doctrine/DBAL/DBALException.php(81): Doctrine\DBAL\DBALException::unknownColumnType()&lt;br/&gt;
#1 /doctrine-2.1.2/Doctrine/DBAL/Types/Type.php(140): Doctrine\DBAL\DBALException::unknownColumnType()&lt;br/&gt;
#2 /doctrine-2.1.2/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php(84): Doctrine\DBAL\Types\Type::getType()&lt;br/&gt;
#3 /doctrine-2.1.2/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php(43): Doctrine\ORM\Internal\Hydration\SimpleObjectHydrator-&amp;gt;_hydrateRow()&lt;br/&gt;
#4 /doctrine-2.1.2/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php(99): Doctrine\ORM\Internal\Hydration\SimpleObjectHydrator-&amp;gt;_hydrateAll()&lt;br/&gt;
#5 /doctrine-2.1.2/Doctrine/ORM/Persisters/BasicEntityPersister.php(581): Doctrine\ORM\Internal\Hydration\AbstractHydrator-&amp;gt;hydrateAll()&lt;br/&gt;
#6 /doctrine-2.1.2/Doctrine/ORM/EntityRepository.php(130): Doctrine\ORM\Persisters\BasicEntityPersister-&amp;gt;load()&lt;br/&gt;
#7 /doctrine-2.1.2/Doctrine/ORM/EntityManager.php(350): Doctrine\ORM\EntityRepository-&amp;gt;find()&lt;/p&gt;</comment>
                    <comment id="17325" author="gediminasm" created="Sat, 21 Jan 2012 16:15:23 +0000"  >&lt;p&gt;hi, seems like doctrine does not clean cache fully.&lt;/p&gt;

&lt;p&gt;in my case I&apos;m using APC cache&lt;br/&gt;
run: in php *&lt;b&gt;apc_clear_cache(&apos;user&apos;);&lt;/b&gt;*&lt;/p&gt;

&lt;p&gt;it should work fine now&lt;/p&gt;

&lt;p&gt;PS.:&lt;br/&gt;
running cache clearing commands, does not help.&lt;/p&gt;

&lt;p&gt;    doctrine:cache:clear-metadata         Clears all metadata cache for a entity manager&lt;br/&gt;
    doctrine:cache:clear-query            Clears all query cache for a entity manager&lt;br/&gt;
    doctrine:cache:clear-result           Clears result cache for a entity manager&lt;/p&gt;</comment>
                    <comment id="17328" author="fmaz008" created="Mon, 23 Jan 2012 12:58:19 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;@gediminas : I don&apos;t have the error anymore so I can&apos;t test, but it&apos;s nice if there&apos;s a solution to fix it.&lt;/p&gt;

&lt;p&gt;However, this error is problematic as it&apos;s anti-verbose.&lt;br/&gt;
There&apos;s is no indication of a cache problem in the error message. It try to point out to a field, and that field is not even displayed in the error.&lt;br/&gt;
I hope someone will be able to fix the error so that&apos;s it become a useful error, like by following some sort of guideline:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.useit.com/alertbox/20010624.html&quot; class=&quot;external-link&quot;&gt;http://www.useit.com/alertbox/20010624.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I don&apos;t want to troll or anything, but as I&apos;Ve started using doctrine2 with symfony2, the MAJOR problem I&apos;ve encountered what bad error message that was leaving me lost. Often I had -v, find the file where the error occurred, look at the code, understand by myself what&apos;s wrong and attempt to fix it. This is counter-productive and really show that the exception message doesn&apos;t follow most error message guide line. For sure, we&apos;re not end-users, but we&apos;re &quot;programmer-user&quot; that use the system, and this &quot;title&quot; come with a knowledge that is not the same as we could expect of a core-developer, for example.&lt;/p&gt;

&lt;p&gt;I hope this message was constructive.&lt;/p&gt;</comment>
                    <comment id="18144" author="beberlei" created="Tue, 26 Jun 2012 21:06:00 +0000"  >&lt;p&gt;Improved this error message alot and also changed some regarding reverse engineering of custom types (where this error often occured):&lt;/p&gt;

&lt;p&gt;You can now implement Type#getMappedDatabaseTypes(AbstractPlatform $platform); on your custom type and return a list of database types that this doctrine type maps to.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>