Hey guys,
I've been getting this error, occasionally, when trying to create a dynamicnodelist that has a where and orderby clause.
The statement looks like this:
But now it gets weird!.. I only get this error when the last created content node (with NodeTypeAliasArrangement) has no value in my custom property orderDate. E.g. All other nodes does not need to have any value in orderDate but the most recent one does.
I have been pulling my hair out of my head trying to solve this anoyingly random error.
Can anyone shed some light on this?
Follow up Is there anyway to only do the OrderBy if the node HasValue in orderDate ?
At least one object must implement IComparable.
Hey guys, I've been getting this error, occasionally, when trying to create a dynamicnodelist that has a where and orderby clause. The statement looks like this:
But now it gets weird!.. I only get this error when the last created content node (with NodeTypeAlias Arrangement) has no value in my custom property orderDate. E.g. All other nodes does not need to have any value in orderDate but the most recent one does.
I have been pulling my hair out of my head trying to solve this anoyingly random error.
Can anyone shed some light on this?
Follow up Is there anyway to only do the OrderBy if the node HasValue in orderDate ?
is working on a reply...