We have moved to GitHub Issues
Created by Douglas Robar 17 Aug 2016, 07:52:00 Updated by Sebastiaan Janssen 04 Sep 2017, 09:33:03
Subtask of: UAASSCRUM-810
With a multi-site content tree (such as a classic multi-lingual website) such as the following:
Using the Query builder and choosing the French Le news page, the wrong selection query is generated, which won't return any results: CurrentPage.Site().Children("newsItem").Where("Visible")
But when choosing the English News page (the first site in the content tree) it works correctly and generates this query:: CurrentPage.Site().FirstChild("newsArea").Children("newsItem").Where("Visible")
Testing with 7.6RC...
You get a correct query for the first site: Model.Content.Site().FirstChild("newsArea").Children("newsItem").Where(x => x.IsVisible())
But you get a big red 'Failed to retrieve query' error when selecting the second language's site. Nothing in the log though.
Backwards Compatible: True
Affected versions: 7.6.0, 7.4.3
Due in version: