<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Mon May 20 07:07:39 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/DC-623/DC-623.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>[DC-623] Impossible to create non-unique slugs</title>
                <link>http://www.doctrine-project.org/jira/browse/DC-623</link>
                <project id="10031" key="DC">Doctrine 1</project>
                        <description>&lt;p&gt;I want to create a non-unique slug of a title field from my table.&lt;/p&gt;

&lt;p&gt;But I&apos;ve found that when I change unique from &apos;true&apos; to &apos;false&apos; the slugs were not created or updated&lt;/p&gt;

&lt;p&gt;In lib\Doctrine\Template\Listener\Sluggable.php inside preUpdate() function the first if() statement disables the unique (false) option.&lt;/p&gt;</description>
                <environment></environment>
            <key id="11193">DC-623</key>
            <summary>Impossible to create non-unique slugs</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="jwage">Jonathan H. Wage</assignee>
                                <reporter username="adwise">Adwise Internetmarketing</reporter>
                        <labels>
                    </labels>
                <created>Fri, 9 Apr 2010 08:28:02 +0000</created>
                <updated>Tue, 31 Aug 2010 11:51:12 +0000</updated>
                                    <version>1.2.2</version>
                                                <component>Sluggable</component>
                        <due></due>
                    <votes>2</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="14176" author="jmather" created="Mon, 30 Aug 2010 16:44:12 +0000"  >&lt;p&gt;Theoretically this should clear up the issue. Sorry for not having the time for a complete test at the moment,&lt;/p&gt;</comment>
                    <comment id="14178" author="webpragmatist" created="Mon, 30 Aug 2010 16:59:52 +0000"  >&lt;p&gt;The patch by Jacob doesn&apos;t work. The reason for the unique check is to bypass appending a numeric value to the end of a slug in the even two exist.&lt;/p&gt;

&lt;p&gt;It just needs to somehow be directly sent to the urlize function.&lt;/p&gt;</comment>
                    <comment id="14196" author="jmather" created="Tue, 31 Aug 2010 11:51:12 +0000"  >&lt;p&gt;I would just like to post an update after I&apos;ve been able to test:&lt;/p&gt;

&lt;p&gt;The only functionality that i found actually broken was updating a slug with unique set to false.&lt;/p&gt;

&lt;p&gt;The reason was the wrapped if.&lt;/p&gt;

&lt;p&gt;If you set unique to false, slugs will still fail to update as canUpdate must also be set to true.&lt;/p&gt;

&lt;p&gt;The patch, so far as I can determine, does correct the underlying issue if a slug failing to update when unique is false and canUpdate is true.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10750" name="dc-623.patch" size="1661" author="jmather" created="Mon, 30 Aug 2010 16:44:12 +0000" />
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>