Skip to content

The replacement of "Company Home" to site name is not working perfectly #143

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Open /alfresco/service/bulk/import/filesystem
2. Fill Import directory source
3. Type anything on target space

What is the expected output? What do you see instead?
Its displaying <site name> instead of "Company Home" like in the previous 
version and cause exception due to the <site name> space is not exist. I guess 
the script not replace it back to default "Company Home" during query process.

What version of the product are you using? On what operating system?
Alfresco Enterprise v4.0.2 (.27 @build-number@)

Please provide any additional information below.
To temporarily solve this issue, I have made changes in the file: 
ajaxspace.get.js:

function buildFullPath(theNode)
{
  if (theNode)
  {
    if (theNode.equals(companyhome))  // We hit Company Home, return it
    {
      return("/Company Home");
    }
    else if (theNode.parent)  // We're at a normal folder node, recurse
    {
      var parentPath = buildFullPath(theNode.parent);
      return(parentPath + "/" + theNode.name);
    }
  }

  return(null);  // Shouldn't ever get here, but you never know...
} 

modification on: return("/Company Home");

Original issue reported on code.google.com by iman.suh...@gmail.com on 5 Dec 2013 at 1:04

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions