mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
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:
@@ -279,9 +279,9 @@ public class NodesMetaDataGet extends DeclarativeWebScript
|
|||||||
HashSet<String> ancestors = new HashSet<String>();
|
HashSet<String> ancestors = new HashSet<String>();
|
||||||
if(nodeMetaData.getPaths() != null)
|
if(nodeMetaData.getPaths() != null)
|
||||||
{
|
{
|
||||||
StringBuilder ancestorPath = new StringBuilder();
|
|
||||||
for(Pair<Path, QName> pair : nodeMetaData.getPaths())
|
for(Pair<Path, QName> pair : nodeMetaData.getPaths())
|
||||||
{
|
{
|
||||||
|
StringBuilder ancestorPath = new StringBuilder();
|
||||||
JSONObject o = new JSONObject();
|
JSONObject o = new JSONObject();
|
||||||
o.put("path", solrSerializer.serializeValue(String.class, pair.getFirst()));
|
o.put("path", solrSerializer.serializeValue(String.class, pair.getFirst()));
|
||||||
o.put("qname", solrSerializer.serializeValue(String.class, pair.getSecond()));
|
o.put("qname", solrSerializer.serializeValue(String.class, pair.getSecond()));
|
||||||
|
Reference in New Issue
Block a user