Fix for ACE-5615 Site cannot be found after several sites are created

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@133188 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrew Hind
2016-11-28 13:16:19 +00:00
parent 3f6c638929
commit cbb241f466

View File

@@ -279,9 +279,9 @@ public class NodesMetaDataGet extends DeclarativeWebScript
HashSet<String> ancestors = new HashSet<String>();
if(nodeMetaData.getPaths() != null)
{
StringBuilder ancestorPath = new StringBuilder();
for(Pair<Path, QName> pair : nodeMetaData.getPaths())
{
StringBuilder ancestorPath = new StringBuilder();
JSONObject o = new JSONObject();
o.put("path", solrSerializer.serializeValue(String.class, pair.getFirst()));
o.put("qname", solrSerializer.serializeValue(String.class, pair.getSecond()));