AnsweredAssumed Answered

Bug for in

Question asked by qsdmv on Oct 30, 2014
In Java based webscript, you will see partial query built if you look at the method called findDescendants:

String query = "+PATH:\"" + nodeService.getPath(siteId).toPrefixString(namespaceService) + "//*\" +TYPE:\"" + WebSiteModel.TYPE_SECTION + "\" +@ws\\:ancestorSections:\"" + rootSectionId + "\"";

partial query will be generated as (ignore the rest):


You will get error like:

   Search failed due to: Failed to parse query: +PATH:"/{}company_home

But it works +PATH: "/app:company_home//*"

You can simply paste the above queries and test from your node browser.

Any ideas?

Thanks in advance