I am building a site with Sitecore 7.5 and Glass Mapper 3.2.3. When I add a sublayout to the presentation details of a page, Glass Mapper will assume that the data source for the sublayout should be the current page. I can also explicitly set the data source for the rendering by selecting a different page on the site in the presentation details dialog box.
Glass Mapper still works fine and uses the other selected page as the data source for the rendering. However if I attempt to use the Build Query dialog box and build a query for my data source, Glass Mapper seems to ignore that and just use the current page as the data source. Is there some way to use a query that I have built using the Build Query dialog?
EDIT: Here is some more information about my setup. I have a single data template in Sitecore called ContentPage. It has one field: Content. I have multiple pages in the site that use this data template. I have a sublayout called sublayoutPageContent. It inherits from GlassUserControl. All it does is display the Content field. If I add this sublayout to the presentation details for Page A and don't specify a data source it works fine. When I bring up Page A, it displays the Content field from Page A perfectly. I can also go in to the presentation details for the sublayout and tell it to use a different page as the data source - say Page B. If I do that and then I go view Page A, I will see the Content field from Page B. Great - that is working as expected. Now instead of selecting a page for the data source, I use a Query and in that Query I select Page B. Now when I view Page A, I see the Content field for Page A - NOT Page B. Hope that explains it better.