1/8/2014 4:50:31 AM
RE:CurrentDocument.Children.WithAllData is not returning items
What version of Kentico do you use exactly and where and how are you using the code?
I am using latest hotfix and both properties are returning the same number or results for given current document.
To allow it to return values on live site, you have to use the mentioned web.config key, otherwise 0 is always returned.