Merged DEV to HEAD:

31815: Fix "It is impossible to search, create or add tags" (also related to ALF-10616)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31990 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2011-11-15 14:41:01 +00:00
parent 0b7432b4d0
commit 8bb6a9a372

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2005-2010 Alfresco Software Limited. * Copyright (C) 2005-2011 Alfresco Software Limited.
* *
* This file is part of Alfresco * This file is part of Alfresco
* *
@@ -148,7 +148,7 @@ public class LuceneCategoryServiceImpl implements CategoryService
return Collections.<ChildAssociationRef> emptyList(); return Collections.<ChildAssociationRef> emptyList();
} }
categoryRef = tenantService.getName(categoryRef); categoryRef = tenantService.getBaseName(categoryRef); // for solr
ResultSet resultSet = null; ResultSet resultSet = null;
try try
@@ -288,8 +288,6 @@ public class LuceneCategoryServiceImpl implements CategoryService
private Set<NodeRef> getClassificationNodes(StoreRef storeRef, QName qname) private Set<NodeRef> getClassificationNodes(StoreRef storeRef, QName qname)
{ {
storeRef = tenantService.getName(storeRef);
ResultSet resultSet = null; ResultSet resultSet = null;
try try
{ {
@@ -315,8 +313,6 @@ public class LuceneCategoryServiceImpl implements CategoryService
public Collection<ChildAssociationRef> getClassifications(StoreRef storeRef) public Collection<ChildAssociationRef> getClassifications(StoreRef storeRef)
{ {
storeRef = tenantService.getName(storeRef);
ResultSet resultSet = null; ResultSet resultSet = null;
try try
{ {