Ticket #1707 (assigned defect)

Opened 3 years ago

Last modified 2 years ago

Bug with internal linking

Reported by: openhaus Assigned to: demian (accepted)
Priority: normal Milestone: 1.0
Component: module - cms Severity: open
Keywords: Navigation Cc:


Using the CMS module I ran into some complications with the navigation for internal links. Testing it and looking at the code I assume the same problem exists with the old navigation code as well [1].

A menu entry for an internal link does not show up when you select "Roles that can view this page: All roles" for its subsection through the backend. The section / subsection are assigned with a "-2" (SGL_ANY_ROLE) which can never be evaluated as true in "... in_array($this->_rid, explode(',', $linkedSection->perms) ...".

[1] http://trac.seagullproject.org/browser/modules/0.6/navigation/classes/SimpleDriver.php#L475

Change History

08/27/09 08:45:28 changed by demian

  • status changed from new to assigned.
  • component changed from module - navigation to module - cms.

12/02/09 04:20:06 changed by demian

  • milestone set to 0.9.1 - polishing.

02/09/10 13:42:13 changed by demian

  • milestone changed from 0.9.1 - polishing to 1.0.