mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-1324: Category becomes unavailable if import files exported via Export All action
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74613 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -338,7 +338,7 @@ public class ServiceBaseImpl implements RecordsManagementModel, ApplicationConte
|
|||||||
if (nodeRef != null)
|
if (nodeRef != null)
|
||||||
{
|
{
|
||||||
result = (NodeRef)getInternalNodeService().getProperty(nodeRef, PROP_ROOT_NODEREF);
|
result = (NodeRef)getInternalNodeService().getProperty(nodeRef, PROP_ROOT_NODEREF);
|
||||||
if (result == null)
|
if (result == null || !instanceOf(result, TYPE_FILE_PLAN))
|
||||||
{
|
{
|
||||||
if (instanceOf(nodeRef, TYPE_FILE_PLAN))
|
if (instanceOf(nodeRef, TYPE_FILE_PLAN))
|
||||||
{
|
{
|
||||||
|
@@ -59,7 +59,7 @@ public class RecordServiceImplUnitTest extends BaseUnitTest
|
|||||||
{
|
{
|
||||||
super.before();
|
super.before();
|
||||||
|
|
||||||
nonStandardFilePlanComponent = generateNodeRef();
|
nonStandardFilePlanComponent = generateNodeRef(TYPE_RECORD_CATEGORY);
|
||||||
nonStandardFilePlan = generateNodeRef(TYPE_MY_FILE_PLAN);
|
nonStandardFilePlan = generateNodeRef(TYPE_MY_FILE_PLAN);
|
||||||
|
|
||||||
// set-up node service
|
// set-up node service
|
||||||
|
Reference in New Issue
Block a user