#54 department_path element of DepartmentRoot in Folder

v1.0
closed
5
2007-04-08
2007-03-22
Jerboaa
No

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?

Discussion

  • Michael Kroell
    Michael Kroell
    2007-03-24

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

    Logged In: YES
    user_id=281536
    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.

     
    • status: pending --> closed
     
  • Logged In: YES
    user_id=1312539
    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).