<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>dynamite Discussions Rss Feed</title><link>http://www.codeplex.com/dynamite/Thread/List.aspx</link><description>dynamite Discussions Rss Description</description><item><title>New Post: Error on columns with underscore</title><link>http://dynamite.codeplex.com/discussions/269704</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Thanks for reporting this bug.&lt;/p&gt;
&lt;p&gt;I have now checked in a fix for this in changeset 69180. It will be included in next release.&lt;/p&gt;&lt;/div&gt;</description><author>henjon</author><pubDate>Sat, 20 Aug 2011 19:57:53 GMT</pubDate><guid isPermaLink="false">New Post: Error on columns with underscore 20110820075753P</guid></item><item><title>New Post: Error on columns with underscore</title><link>http://dynamite.codeplex.com/discussions/269704</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;If any of columns in the sort list have an underscore in them, the sorter does not work. It's as if it views underscores as spaces, and looks for a column with the name prior to the underscore.&lt;br&gt;
For example:&lt;br&gt;
Column Name: With_Underscore&lt;br&gt;
&amp;nbsp;&lt;br&gt;
The sorter looks for a column called &amp;quot;With&amp;quot; and throws an error.&lt;/p&gt;
&lt;/div&gt;</description><author>Kollibri</author><pubDate>Fri, 19 Aug 2011 13:59:06 GMT</pubDate><guid isPermaLink="false">New Post: Error on columns with underscore 20110819015906P</guid></item><item><title>New Post: Error when using after published to server</title><link>http://dynamite.codeplex.com/Thread/View.aspx?ThreadId=72719</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Since you just get the error on the staging server you probably have a different version of the .NET framework there. I have only tested it on 3.5 SP1, it is likely that you miss Service Pack 1 on your server.&lt;/p&gt;
&lt;p&gt;If you can't upgrade to .NET 3.5 SP1 on the server, you could try the following change in ComparerBuilder.cs line 831:&lt;/p&gt;
&lt;p&gt;
&lt;div style="color:Black;background-color:White"&gt;
&lt;pre&gt;&lt;span style="color:Green"&gt;// Try typed CompareTo (defined in IComparable&amp;lt;T&amp;gt; generic interface type) first.&lt;/span&gt;
MethodInfo compareToMethod = &lt;span style="color:Blue"&gt;null&lt;/span&gt;;&lt;br&gt;Type genericIComparableType = &lt;span style="color:Blue"&gt;typeof&lt;/span&gt;(IComparable&amp;lt;&amp;gt;).MakeGenericType(propType);&lt;br&gt;&lt;span style="color:Blue"&gt;if&lt;/span&gt; (genericIComparableType.IsAssignableFrom(propType))&lt;br&gt;{&lt;br&gt;     compareToMethod = genericIComparableType.GetMethod(&lt;span style="color:#A31515"&gt;&amp;quot;CompareTo&amp;quot;&lt;/span&gt;);&lt;br&gt;     &lt;strong&gt;compareToMethod = GetMethodImplementation(propType, compareToMethod);&lt;br&gt;&lt;/strong&gt;}&lt;br&gt;&lt;span style="color:Blue"&gt;else&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
Good luck.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>henjon</author><pubDate>Sun, 25 Oct 2009 12:12:08 GMT</pubDate><guid isPermaLink="false">New Post: Error when using after published to server 20091025121208P</guid></item><item><title>New Post: Error when using after published to server</title><link>http://dynamite.codeplex.com/Thread/View.aspx?ThreadId=72719</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Temporary fix was to create a new property called &amp;quot;SortText&amp;quot; where it returns a zero-filled string, instead of an INT.&amp;nbsp; And no more error.&lt;/p&gt;&lt;/div&gt;</description><author>atpgod</author><pubDate>Wed, 21 Oct 2009 23:32:18 GMT</pubDate><guid isPermaLink="false">New Post: Error when using after published to server 20091021113218P</guid></item><item><title>New Post: Error when using after published to server</title><link>http://dynamite.codeplex.com/Thread/View.aspx?ThreadId=72719</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I'm getting the following error when I try to use this on our staging server.&amp;nbsp; This error does NOT get thrown locally on my machine.&amp;nbsp; I've tried changing the datatype from Short, Integer, Long.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The line of code that is erroring is:&lt;/p&gt;
&lt;div style="color:Black;background-color:White"&gt;
&lt;pre&gt;oTempProducts.Sort(&lt;span style="color:#A31515"&gt;&amp;quot;Audience, Category, Sort&amp;quot;&lt;/span&gt;) &lt;span style="color:Green"&gt;'String, String, Integer&lt;/span&gt;&lt;br&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Method 'Int32 CompareTo(Int32)' is not defined for type 'System.Int32&lt;/p&gt;
&lt;p&gt;--------------------------------&lt;/p&gt;
&lt;p&gt;Dynamite.Parsing.ParserException: Method 'Int32 CompareTo(Int32)' is not defined for type 'System.Int32'&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Dynamite.ComparerBuilder`1.GetFieldComparisons(String sortExpression) in C:\Users\apatel\Desktop\Dynamite_1_0_1\Dynamite\ComparerBuilder.cs:line 1087&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Dynamite.ComparerBuilder`1.CreateTypeComparison(String sortExpression) in C:\Users\apatel\Desktop\Dynamite_1_0_1\Dynamite\ComparerBuilder.cs:line 509&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Dynamite.Extensions.ComparerExtensions.Sort[T](List`1 list, String sortExpression) in C:\Users\apatel\Desktop\Dynamite_1_0_1\Dynamite\ComparerExtensions.cs:line 44&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Objects.MarketingGuide.UpdateProductsSortFromValues() in C:\Users\apatel\Documents\My Projects\JacksonNational\Superfulfillment\Website\App_Code\Objects\MarketingGuide.vb:line 882'&lt;/p&gt;&lt;/div&gt;</description><author>atpgod</author><pubDate>Wed, 21 Oct 2009 23:05:37 GMT</pubDate><guid isPermaLink="false">New Post: Error when using after published to server 20091021110537P</guid></item></channel></rss>