[daisy] [JIRA] Created: (DSY-499) When building navigation trees, check there are no sibling nodes with same ID

Bruno Dumon (JIRA) issues at cocoondev.org
Mon Jul 2 03:34:50 CDT 2007


When building navigation trees, check there are no sibling nodes with same ID
-----------------------------------------------------------------------------

         Key: DSY-499
         URL: http://issues.cocoondev.org//browse/DSY-499
     Project: Daisy
        Type: Improvement
  Components: Ext - navigation trees  
 Reporter: Bruno Dumon
    Priority: Minor


The navigation machinerie assumes sibling nodes don't have the same ID.

Sibling nodes with the same ID can occur either through manual creation or when using queries without variant-filtering.

The problems are that:
 - it is impossible to navigate to such nodes
 - this can lead to endless redirects

Solutions include:
 - check during building the navigation tree that there are no such siblings, and log errors in case there are any (I wouldn't fail completely) (or replace such nodes by error nodes)
 - for query nodes, we might consider including the variant in the generated node ID. This should preferably be smart enough to only do this when it is needed (= when filter variants flag is disabled, though one could also manually create such sibling nodes).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



More information about the daisy mailing list