mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
MNT-17932 Searching in a folder without a “cm:” inside the technical path doesn’t deliver any results
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137161 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1215,7 +1215,12 @@ public class ScriptNode implements Scopeable, NamespacePrefixResolverProvider
|
||||
prefix = prefixes.size() != 0 ? prefixes.iterator().next() : "";
|
||||
cache.put(qname.getNamespaceURI(), prefix);
|
||||
}
|
||||
buf.append('/').append(prefix).append(':').append(ISO9075.encode(qname.getLocalName()));
|
||||
buf.append('/');
|
||||
if(prefix.length() > 0)
|
||||
{
|
||||
buf.append(prefix).append(':');
|
||||
}
|
||||
buf.append(ISO9075.encode(qname.getLocalName()));
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user