markcoatsworth
-
5/18/2011 8:12:47 PM
Bug in CMS.TreeEngine.TreeProvider.SelectNodes() function?
Hi there,
I'm having a problem with the CMS.TreeEngine.TreeProvider.SelectNodes() function. It looks like a bug in the software, but it's possible I'm not using it correctly.
This is the specific overload method I'm using:
public virtual DataSet SelectNodes(string siteName, string aliasPath, string cultureCode, bool combineWithDefaultCulture, string classNames, string where);
The problem is that the cultureCode argument does not work. No matter what value I pass to cultureCode, the function returns documents based on whatever culture is currently selected in the site.
So for example if "en-CA" is my current culture, then only documents in en-CA culture are retrieved by SelectNodes(). Even if I pass a different CultureCode.
Is this a bug, or am I just using it incorrectly? I've applied the latest hotfix and the problem is still happening.
Thanks!
Mark
|