Hi Craig,
I am getting an error message (some of the time) from the web page at
http://ods.dyndns.org/FlexWiki/default.aspx/OdsWiki/HomePage.html (running
2.0.0.107)
The error message is:
IComparer (or the IComparable methods it relies upon) did not return zero
when Array.Sort called x. CompareTo(x). x: 'TopicInfo for
OdsWiki.FlexWikiFeatures' x's type: 'TopicVersionInfo' The IComparer: '
FlexWiki.CustomSorter'.
The WikiTalk code that is producing the error is:
@@[
"||{!}*Topic*||{!}*Date of Last Change*||{!}*Summary*||", Newline,
namespace.Topics.Select{ each |
each.HasProperty("Homepage") }.SortBy { each |
DateTime.Now.SpanBetween(each.LastModified)
}.Collect{ each |
[
"||{+}[", each.Name, "]",
"||{+}", each.LastModified.ToLongDateString(), " ",
"||", each.Summary,
"||", Newline,
]
}
]
@@
The error only appears about 50% of the new page views or refreshes.
Otherwise it gives the expected output of a sorted table.
Should I create a bug ?
John Davidson
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users