[ http://jira.magnolia.info/browse/MAGNOLIA-1278?page=comments#action_13429 ] Chris Miner commented on MAGNOLIA-1278: ---------------------------------------
ah well that is too bad. would have been good to have been able to have had a look at it. No I didn't check the sources. I used the workaround. My solution would be to drop the method getQueryManager from the hierarchy class. Less code is better. > MgnlContext.getHierarchyManager(getRepositoryId()).getQueryManager() and > MgnlContext.getQueryManager(getRepositoryId()) return unequal values. > ---------------------------------------------------------------------------------------------------------------------------------------------- > > Key: MAGNOLIA-1278 > URL: http://jira.magnolia.info/browse/MAGNOLIA-1278 > Project: Magnolia > Issue Type: Bug > Reporter: Chris Miner > Assigned To: Sameer Charles > > I found that: > MgnlContext.getQueryManager(getRepositoryId()) > is returning a query manager that can be used for doing queries while: > MgnlContext.getHierarchyManager(getRepositoryId()).getQueryManager() > returns null. Not sure why. My workaround was to use the first call. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia.info/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
