Ticket #307 (closed Bug)
language attribute isn't honored inside navigation trees
| Reported by: | andreas@… | Owned by: | somebody |
|---|---|---|---|
| Priority: | Minor | Milestone: | |
| Component: | Frontend (wiki) | Version: | 1.5 |
| Keywords: | Cc: |
Description
[jira2trac import : issue created on July 19, 2006 9:04:20 AM CEST http://issues.cocoondev.org/browse/DSY-307 ]
Use something like
<d:group label="My Group">
<d:doc id="551" label="german version"/>
<d:doc id="551" language="en" label="english version"/>
</d:group>
inside your navigation tree. You won't be able invoke the English version of document 551 since the language attribute is ignored. Also, if you use a link to the english variant somewhere inside a document, it leads to an error (the navigation based link leads to inifinite recursion).
Change History
Note: See
TracTickets for help on using
tickets.
[jira2trac import : comment created by bruno on July 20, 2006 4:25:15 AM CEST]
The problem with the missing language parameter is fixed.
However, there's still another reason this won't work, namely because this way your navigation tree will contain two nodes with the same ID. This could possibly be fixed by taking the branch and language into account when checking if IDs match. Will think a bit about it and fix later.