<!-- 
RSS generated by JIRA (4.4#649-r158309) at Tue May 21 19:49:59 CDT 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://dev.clojure.org/jira/si/jira.issueviews:issue-xml/CLJ-922/CLJ-922.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Clojure JIRA</title>
    <link>http://dev.clojure.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>4.4</version>
        <build-number>649</build-number>
        <build-date>25-07-2011</build-date>
    </build-info>

<item>
            <title>[CLJ-922] Transient maps lose values</title>
                <link>http://dev.clojure.org/jira/browse/CLJ-922</link>
                <project id="10010" key="CLJ">Clojure</project>
                        <description>&lt;p&gt;I have tested this on the latest clojure 1.4 alpha (1.4.0-alpha5).&lt;/p&gt;

&lt;p&gt;I am not exactly sure what the problem is w/ transient maps, but at a certain point they appear to lose values (values that are inserted into the maps w/ assoc! do not get saved).&lt;/p&gt;

&lt;p&gt;I have a test script that illustrates this bug:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://gist.github.com/497879a727dabac46ec3&quot;&gt;https://gist.github.com/497879a727dabac46ec3&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;All the values up to content-length are saved, but content-length never makes it into the transient map.&lt;/p&gt;</description>
                <environment>OS X, java 1.6.0_29</environment>
            <key id="15152">CLJ-922</key>
            <summary>Transient maps lose values</summary>
                <type id="1" iconUrl="http://dev.clojure.org/jira/images/icons/bug.gif">Defect</type>
                                <priority id="3" iconUrl="http://dev.clojure.org/jira/images/icons/priority_major.gif">Major</priority>
                    <status id="6" iconUrl="http://dev.clojure.org/jira/images/icons/status_closed.gif">Closed</status>
                    <resolution id="2">Declined</resolution>
                                <assignee username="-1">Unassigned</assignee>
                                <reporter username="carllerche">Carl Lerche</reporter>
                        <labels>
                    </labels>
                <created>Tue, 31 Jan 2012 00:01:42 -0600</created>
                <updated>Tue, 31 Jan 2012 01:21:40 -0600</updated>
                    <resolved>Tue, 31 Jan 2012 01:21:40 -0600</resolved>
                            <version>Release 1.3</version>
                <version>Release 1.4</version>
                                                        <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="27632" author="tsdh" created="Tue, 31 Jan 2012 01:20:53 -0600"  >&lt;p&gt;This is no bug, but you use assoc! wrongly.  Just like with assoc, you need to use the return value of the call instead of &quot;bashing the transient map in place&quot;.  I.e., in your code, replace the doto with -&amp;gt;, which threads the result of each assoc! call to the next one, returning the last value.&lt;/p&gt;

&lt;p&gt;BTW: This came up on the list the last days, too.  See:&lt;/p&gt;

&lt;p&gt;  &lt;a href=&quot;https://groups.google.com/d/msg/clojure/rmLLnRx5p3U/10GYNQdTVksJ&quot;&gt;https://groups.google.com/d/msg/clojure/rmLLnRx5p3U/10GYNQdTVksJ&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="27633" author="tsdh" created="Tue, 31 Jan 2012 01:21:40 -0600"  >&lt;p&gt;This is no bug but a usage error.&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="10795" name="bug.clj" size="654" author="carllerche" created="Tue, 31 Jan 2012 00:01:42 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>
</channel>
</rss>