[daisy] [JIRA] Resolved: (DSY-340) Error when changing to another language variant

Bruno Dumon (JIRA) issues at cocoondev.org
Wed Aug 30 08:18:08 CDT 2006


     [ http://issues.cocoondev.org//browse/DSY-340?page=all ]
     
Bruno Dumon resolved DSY-340:
-----------------------------

    Fix Version: public - 2.0
     Resolution: Fixed

Fixed by linking to variants using the document ID instead of the navigation tree path.

This is probably a side effect of the earlier change to identify nodes based not only on node ID but also branch and language (was needed to be able to have the same document in two different variants as siblings in the navigation tree).

> Error when changing to another language variant
> -----------------------------------------------
>
>          Key: DSY-340
>          URL: http://issues.cocoondev.org//browse/DSY-340
>      Project: Daisy
>         Type: Bug
>   Components: Frontend (wiki)
>     Versions: public - 2.0
>  Environment: Daisy 2.0
>     Reporter: Andreas Deininger
>     Priority: Minor
>      Fix For: public - 2.0

>
> How to reproduce:
> Create an arbitrary document in two language variants (e.g. en and nl, assuming id=14).
> Add that document to the navigation tree of an arbitrary site and assign a node ID for that document (e.g. testdoc)
> Invoke that document: http://my.domain.tld/mysite/14 -> http://my.domain.tld/mysite/testdoc
> Now try to switch to the other language variant of that doc via: Variants -> main -nl
> Error: http://my.domain.tld/mysite/testdoc?branch=main&language=nl -> Path not found: testdoc
> Would work if the document id were given instead of the node id:
> http://my.domain.tld/mysite/14?branch=main&language=nl -> Works

-- 
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