<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>
<channel>
	<title>Enigmatic Thought &#187; JIRA</title>
	<atom:link href="http://blog.enigmaticthought.com/tag/jira/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.enigmaticthought.com</link>
	<description>import com.enigmaticThought.blog;</description>
	<lastBuildDate>Fri, 25 Jun 2010 19:54:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Bugquash badges fixed</title>
		<link>http://blog.enigmaticthought.com/2009/12/bugquash-badges-fixed/</link>
		<comments>http://blog.enigmaticthought.com/2009/12/bugquash-badges-fixed/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 20:29:37 +0000</pubDate>
		<dc:creator>Matt C</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[BugQuash]]></category>
		<category><![CDATA[FlexSDK]]></category>
		<category><![CDATA[JIRA]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[programming]]></category>
		<guid isPermaLink="false">http://enigmaticthought.com/?p=261</guid>
		<description><![CDATA[Nate has fixed the BugQuash badge display, so everyone who has contributed to the Flex SDK can show the world. I&#8217;ve added mine back to the sidebar and I need to hunt another bug to earn my orange belt. As thanks for harassing him (idling in a chat room and asking every so often) he [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.natebeck.net/">Nate</a> has fixed the <a href="http://www.bugquash.com/">BugQuash</a> badge display, so everyone who has contributed to the Flex SDK can show the world.  I&#8217;ve added mine back to the sidebar and I need to hunt another bug to earn my <a href="http://www.bugquash.com/index.php?option=com_wrapper&#038;view=wrapper&#038;Itemid=93">orange belt</a>.  As thanks for harassing him (idling in a chat room and asking every so often) he added me to the <a href="http://bugquash.com/badge/badgetest.php">Test Page</a>.<br />
<h3 class='related_post_title'>Related Posts (generated):</h3>
<ul class='related_post'>
<li><a href='http://enigmaticthought.com/2009/11/scientific-notation-patch-accepted/' title='Scientific Notation Patch Accepted'>Scientific Notation Patch Accepted</a></li>
<li><a href='http://enigmaticthought.com/2009/08/sdk-16241/' title='Let&#8217;s patch: Fun with Scientific Notation!'>Let&#8217;s patch: Fun with Scientific Notation!</a></li>
<li><a href='http://enigmaticthought.com/2009/08/objectutil-compare-patch-attempt-number-2/' title='ObjectUtil.compare() Patch attempt number 2'>ObjectUtil.compare() Patch attempt number 2</a></li>
<li><a href='http://enigmaticthought.com/2009/09/sdk-2233-flex3-4-httpservice-bug/' title='Hold the HTTPService: Flex 3.4 gets a showstopper'>Hold the HTTPService: Flex 3.4 gets a showstopper</a></li>
<li><a href='http://enigmaticthought.com/2009/08/objectutil-compare-patch-3-with-feeling/' title='ObjectUtil.compare() Patch 3 (with feeling!)'>ObjectUtil.compare() Patch 3 (with feeling!)</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.enigmaticthought.com/2009/12/bugquash-badges-fixed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scientific Notation Patch Accepted</title>
		<link>http://blog.enigmaticthought.com/2009/11/scientific-notation-patch-accepted/</link>
		<comments>http://blog.enigmaticthought.com/2009/11/scientific-notation-patch-accepted/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 16:21:40 +0000</pubDate>
		<dc:creator>Matt C</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[BugQuash]]></category>
		<category><![CDATA[FlexSDK]]></category>
		<category><![CDATA[JIRA]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[programming]]></category>
		<guid isPermaLink="false">http://enigmaticthought.com/?p=244</guid>
		<description><![CDATA[The patch I mentioned way back in Let’s patch: Fun with Scientific Notation! was finally accepted and is now live in the 3.x branch. This fixes SDK-16241, which dealt with scientific notation. I removed the Bug Quash badge since it&#8217;s misreporting, but this is my fourth patch accepted. I was hoping for 5, but if [...]]]></description>
			<content:encoded><![CDATA[<p>The patch I mentioned way back in <a href="http://enigmaticthought.com/2009/08/sdk-16241/">Let’s patch: Fun with Scientific Notation!</a> was finally accepted and is now live in the 3.x branch.  This fixes <a href="https://bugs.adobe.com/jira/browse/SDK-16241">SDK-16241</a>, which dealt with scientific notation.</p>
<p>I removed the Bug Quash badge since it&#8217;s misreporting, but this is my fourth patch accepted.  I was hoping for 5, but if you followed the <a href="http://enigmaticthought.com/2009/07/bug-hunting-fx-1/">Bug Hunting</a> series, my big fix for object comparisons was accepted with some caveats, meaning I didn&#8217;t get credit.</p>
<p>The 4 month delay is obviously due to the push for Flex 4.  Though the trunk is somewhat off limits to community patches depending on your reading of the <a href="http://opensource.adobe.com/wiki/display/flexsdk/Submitting+a+Patch">Submitting a Patch</a> page on Adobe&#8217;s site. &#8220;We are starting Flex 4 development in /flex/sdk/trunk, so the trunk is in flux and patches submitted against it are less likely to be accepted for now.&#8221;</p>
<h3 class='related_post_title'>Related Posts (generated):</h3>
<ul class='related_post'>
<li><a href='http://enigmaticthought.com/2009/08/sdk-16241/' title='Let&#8217;s patch: Fun with Scientific Notation!'>Let&#8217;s patch: Fun with Scientific Notation!</a></li>
<li><a href='http://enigmaticthought.com/2009/08/objectutil-compare-patch-attempt-number-2/' title='ObjectUtil.compare() Patch attempt number 2'>ObjectUtil.compare() Patch attempt number 2</a></li>
<li><a href='http://enigmaticthought.com/2009/09/sdk-2233-flex3-4-httpservice-bug/' title='Hold the HTTPService: Flex 3.4 gets a showstopper'>Hold the HTTPService: Flex 3.4 gets a showstopper</a></li>
<li><a href='http://enigmaticthought.com/2009/08/objectutil-compare-patch-3-with-feeling/' title='ObjectUtil.compare() Patch 3 (with feeling!)'>ObjectUtil.compare() Patch 3 (with feeling!)</a></li>
<li><a href='http://enigmaticthought.com/2009/07/bug-hunting-fx-3/' title='Bug hunting in the Flex SDK (part 3)'>Bug hunting in the Flex SDK (part 3)</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.enigmaticthought.com/2009/11/scientific-notation-patch-accepted/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hold the HTTPService: Flex 3.4 gets a showstopper</title>
		<link>http://blog.enigmaticthought.com/2009/09/sdk-2233-flex3-4-httpservice-bug/</link>
		<comments>http://blog.enigmaticthought.com/2009/09/sdk-2233-flex3-4-httpservice-bug/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 14:54:54 +0000</pubDate>
		<dc:creator>Matt C</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[BugQuash]]></category>
		<category><![CDATA[FlexSDK]]></category>
		<category><![CDATA[JIRA]]></category>
		<category><![CDATA[patch]]></category>
		<guid isPermaLink="false">http://enigmaticthought.com/?p=228</guid>
		<description><![CDATA[It turns out that Flex 3.4 may not have been ready for the spotlight. Sure, I&#8217;m as eager as anyone to get a hold on it, especially since I had a part in its creation. However, there&#8217;s a horrible bug in the HTTPService world. If you add a responder to a token created by the [...]]]></description>
			<content:encoded><![CDATA[<p>It turns out that Flex 3.4 may not have been ready for the spotlight.  Sure, I&#8217;m as eager as anyone to get a hold on it, especially since I <a href="http://enigmaticthought.com/2009/05/bug-quash/">had a part</a> in its creation.  However, there&#8217;s a <a href="http://bugs.adobe.com/jira/browse/SDK-22883">horrible bug</a> in the HTTPService world.</p>
<p>If you add a responder to a token created by the send() method, you&#8217;ll end up with two calls to the responder for every return by the server.  The workaround is use event listeners rather than responders, but a lot of people (myself included) aren&#8217;t interested in rewriting legacy code to work around something that worked in a prior version.<br />
<h3 class='related_post_title'>Related Posts (generated):</h3>
<ul class='related_post'>
<li><a href='http://enigmaticthought.com/2009/11/scientific-notation-patch-accepted/' title='Scientific Notation Patch Accepted'>Scientific Notation Patch Accepted</a></li>
<li><a href='http://enigmaticthought.com/2009/08/sdk-16241/' title='Let&#8217;s patch: Fun with Scientific Notation!'>Let&#8217;s patch: Fun with Scientific Notation!</a></li>
<li><a href='http://enigmaticthought.com/2009/08/objectutil-compare-patch-attempt-number-2/' title='ObjectUtil.compare() Patch attempt number 2'>ObjectUtil.compare() Patch attempt number 2</a></li>
<li><a href='http://enigmaticthought.com/2009/12/flex-3-5-finally-released/' title='Flex 3.5 finally released'>Flex 3.5 finally released</a></li>
<li><a href='http://enigmaticthought.com/2009/09/httpservice-bug-crushed/' title='HTTPService bug crushed in 3.x branch'>HTTPService bug crushed in 3.x branch</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.enigmaticthought.com/2009/09/sdk-2233-flex3-4-httpservice-bug/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Let&#8217;s patch: Fun with Scientific Notation!</title>
		<link>http://blog.enigmaticthought.com/2009/08/sdk-16241/</link>
		<comments>http://blog.enigmaticthought.com/2009/08/sdk-16241/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 14:56:59 +0000</pubDate>
		<dc:creator>Matt C</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[BugQuash]]></category>
		<category><![CDATA[FlexSDK]]></category>
		<category><![CDATA[JIRA]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[programming]]></category>
		<guid isPermaLink="false">http://enigmaticthought.com/?p=204</guid>
		<description><![CDATA[Flex SDK bug SDK-16241 was interesting for two reasons. It was claimed then abandoned (it shouldn&#8217;t take 4 months to patch) and the &#8220;Expected Result&#8221; was actually incorrect. Lots of bugs are claimed the abandoned. I admit I did it at the BugQuash when I realized I was over my head and should move on [...]]]></description>
			<content:encoded><![CDATA[<p>Flex SDK bug <a href="https://bugs.adobe.com/jira/browse/SDK-16241">SDK-16241</a> was interesting for two reasons. It was claimed then abandoned (it shouldn&#8217;t take 4 months to patch) and the &#8220;Expected Result&#8221; was actually incorrect.  Lots of bugs are claimed the abandoned.  I admit I did it at the <a href="http://www.bugquash.com/">BugQuash</a> when I realized I was over my head and should move on rather than flail around for the rest of the day. The expected result threw me though.</p>
<p>The problem lies with Scientific Notation and it&#8217;s formatting when converted to string using <a href="http://livedocs.adobe.com/flex/3/langref/mx/formatters/NumberFormatter.html">NumberFormatter</a>, which doesn&#8217;t take into account the altered decimal position.  Since we&#8217;re dealing with strings in the function itself, flex doesn&#8217;t have to worry about the size of the number, so I simply built the number up to full size and send it down the line.  The same problem was in the <a href="http://livedocs.adobe.com/flex/3/langref/mx/formatters/NumberBase.html">NumberBase</a> class when adding the thousands separator via formatThousands since it converts the Object->Number->String which returns my fancy long string to scientific notation.  Since I&#8217;d already solved the problem, I just copied some code over.  Both places needed to be fixed because only the numbers to the right of the decimal are sent to the formatThousands function.</p>
<p>I also learned that when talking <a href="http://en.wikipedia.org/wiki/Arithmetic_precision">precision</a>, flex means number of decimal places, not significant digits.  A major distinction mentioned in the NumberBase reference.</p>
<p>So what about the &#8220;expected result&#8221;?  Well the value being formatted is -2.34444444444434e+21 which expands out to -2,344,444,444,444,340,000,000.  The expected result is listed as -2,344,444,440,000,000,000,000 for some reason.  I assume it&#8217;s someone&#8217;s calculator rounding off to a numerical precision of 9 since the actual value of 235345-242+99209323-2344444444444444444444 is -2344444444444345000018 which also tells me that flex&#8217;s default numerical precision is 15.</p>
<p>My patch is <a href="https://bugs.adobe.com/jira/browse/SDK-22643">SDK-22643</a> if you&#8217;re interested.<br />
<h3 class='related_post_title'>Related Posts (generated):</h3>
<ul class='related_post'>
<li><a href='http://enigmaticthought.com/2009/08/objectutil-compare-patch-attempt-number-2/' title='ObjectUtil.compare() Patch attempt number 2'>ObjectUtil.compare() Patch attempt number 2</a></li>
<li><a href='http://enigmaticthought.com/2009/09/sdk-2233-flex3-4-httpservice-bug/' title='Hold the HTTPService: Flex 3.4 gets a showstopper'>Hold the HTTPService: Flex 3.4 gets a showstopper</a></li>
<li><a href='http://enigmaticthought.com/2009/08/objectutil-compare-patch-3-with-feeling/' title='ObjectUtil.compare() Patch 3 (with feeling!)'>ObjectUtil.compare() Patch 3 (with feeling!)</a></li>
<li><a href='http://enigmaticthought.com/2009/07/bug-hunting-fx-3/' title='Bug hunting in the Flex SDK (part 3)'>Bug hunting in the Flex SDK (part 3)</a></li>
<li><a href='http://enigmaticthought.com/2009/07/bug-hunting-fx-2/' title='Bug hunting in the Flex SDK (part 2)'>Bug hunting in the Flex SDK (part 2)</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.enigmaticthought.com/2009/08/sdk-16241/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>ObjectUtil.compare() Patch attempt number 2</title>
		<link>http://blog.enigmaticthought.com/2009/08/objectutil-compare-patch-attempt-number-2/</link>
		<comments>http://blog.enigmaticthought.com/2009/08/objectutil-compare-patch-attempt-number-2/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 16:33:24 +0000</pubDate>
		<dc:creator>Matt C</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[BugQuash]]></category>
		<category><![CDATA[FlexSDK]]></category>
		<category><![CDATA[JIRA]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[programming]]></category>
		<guid isPermaLink="false">http://enigmaticthought.com/?p=175</guid>
		<description><![CDATA[I guess you can call this an unofficial part 4 of my 3 part &#8220;Bug hunting in the Flex SDK&#8221; series (1,2,3). Like a lot of patches, my SDK-19385 (ObjectUtils.compare() thinks that if A=B and C=D, A = C) (SDK-22491) was rejected. I&#8217;m not going to just let that hang out there like a lot [...]]]></description>
			<content:encoded><![CDATA[<p>I guess you can call this an unofficial part 4 of my 3 part &#8220;Bug hunting in the Flex SDK&#8221; series (<a href="http://enigmaticthought.com/2009/07/bug-hunting-fx-1/">1</a>,<a href="http://enigmaticthought.com/2009/07/bug-hunting-fx-2/">2</a>,<a href="http://enigmaticthought.com/2009/07/bug-hunting-fx-3/">3</a>).  Like a lot of patches, my <a href="http://bugs.adobe.com/jira/browse/SDK-19385">SDK-19385</a> (ObjectUtils.compare() thinks that if A=B and C=D, A = C) (<a href="http://bugs.adobe.com/jira/browse/SDK-22491">SDK-22491</a>) was rejected.  I&#8217;m not going to just let that hang out there like a lot of community patch attempts so it&#8217;s time for another round. Fortunately, <a href="http://frishy.blogspot.com/">Ryan Frishburg</a> left a nice comment.</p>
<blockquote><p>
Let&#8217;s not do String comparisons&#8230;that&#8217;s too slow. Let&#8217;s build up a better dictionary mapping equal objects to equal objects (or equal to unequal ones). That would be the correct fix here.</p></blockquote>
<p>Which is also a point I mentioned when I submitted the patch.  There is another way to fix the bug, but rather than the laser surgery, I have to go in with a scalpel.  This time I&#8217;m altering a few function&#8217;s arguments.  All the functions are private, but it&#8217;s something I&#8217;d rather avoid.</p>
<p>I tried mirroring the functionality of the string function I used, but without having to deal with strings.  What made this work so well was the resetting of object ids every time you built the string.  That&#8217;s not an option here because we don&#8217;t want to lose the generic object IDs.</p>
<p>My original thought of a fix was to pass a list of objects that are parents of the object is probably the best option.  I finally defaulted back to this, but ran into another problem with Flex.  You cannot pass by reference.  I tried the ObjectUtil.copy() function, but it doesn&#8217;t work with dictionaries (<a href="http://bugs.adobe.com/jira/browse/SDK-13787">SDK-13787</a>).  That meant I had to perform the copy within the compare function.  It&#8217;s not perfect, but when dealing with infinite recursion not much is.  I looked into altering the copy function, but I didn&#8217;t see a way to determine if a dictionary was using weak references.</p>
<p>The new patch is at <a href="http://bugs.adobe.com/jira/browse/SDK-22552">SDK-22552</a><br />
<h3 class='related_post_title'>Related Posts (generated):</h3>
<ul class='related_post'>
<li><a href='http://enigmaticthought.com/2009/09/sdk-2233-flex3-4-httpservice-bug/' title='Hold the HTTPService: Flex 3.4 gets a showstopper'>Hold the HTTPService: Flex 3.4 gets a showstopper</a></li>
<li><a href='http://enigmaticthought.com/2009/08/objectutil-compare-patch-3-with-feeling/' title='ObjectUtil.compare() Patch 3 (with feeling!)'>ObjectUtil.compare() Patch 3 (with feeling!)</a></li>
<li><a href='http://enigmaticthought.com/2009/07/bug-hunting-fx-3/' title='Bug hunting in the Flex SDK (part 3)'>Bug hunting in the Flex SDK (part 3)</a></li>
<li><a href='http://enigmaticthought.com/2009/07/bug-hunting-fx-2/' title='Bug hunting in the Flex SDK (part 2)'>Bug hunting in the Flex SDK (part 2)</a></li>
<li><a href='http://enigmaticthought.com/2009/05/bug-quash/' title='Bug Quash'>Bug Quash</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.enigmaticthought.com/2009/08/objectutil-compare-patch-attempt-number-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
