#54 department_path element of DepartmentRoot in Folder


If a Folder-Object containing a DepartmentRoot is directly Child of a SiteRoot the department_path element of the corresponding ou.xml is empty, which prevents department-links to be displayed properly.

exemplary hierarchy:

SiteRoot |
'-> Folder |
'-> DeptRoot (X)

DepartmentRoot X gets an empty department_path element in ou.xml. Thus department-links do not appear in published HTML-Output.

Department-links in a hierarchy similar to the below one are displayed as expected:

SR |
'-> F |
'-> DR |
'-> F |
'-> DR

Although, from an conceptional point of view, it hardly makes sense building a SiteRoot-Folder-DepartmentRoot hierarchy, but is this behaviour intended?


  • Michael Kroell

    Michael Kroell - 2007-03-24
    • assigned_to: nobody --> pepl
    • status: open --> pending
  • Michael Kroell

    Michael Kroell - 2007-03-24

    Logged In: YES
    Originator: NO

    For a DepartmentRoot in a SiteRoot/Folder/DepartmentRoot hierarchy, the correct department_path relative to the SiteRoot is an empty string or a '/' respectively. The department_path is by definition the path to the current's object Objectroot (Department-|SiteRoot) which is in that case the the SiteRoot. Relative to the SiteRoot (resolvereltositeroots config option is set to 1 per default) that points to directly to '/'. The path to corresponding ou.xml would therefore be /ou.xml and from there the SiteRoot's DepartmentLinks can be found.

  • SourceForge Robot

    • status: pending --> closed
  • SourceForge Robot

    Logged In: YES
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).


Log in to post a comment.