Ticket #231 (closed Bug)

Opened 3 years ago

Last modified 3 years ago

variant duplicate entries in variant list

Reported by: andreas@… Owned by:
Priority: Minor Milestone:
Component: Version: 1.4
Keywords: Cc:

Description

[jira2trac import : issue created on December 29, 2005 5:54:52 AM CET http://issues.cocoondev.org/browse/DSY-231 ]

Create a new daisy site with a custom skinconf.xml. In skinconf.xml, set the following value:
<pageNavigationInMenu>true</pageNavigationInMenu>
All entries in the variant list appear twice.

Mentioned also in:
http://lists.cocoondev.org/pipermail/daisy/2005-December/002686.html

Change History

comment:1 Changed 3 years ago by paul

  • Status changed from new to closed

[jira2trac import : comment created by paul on January 4, 2006 2:03:57 AM CET]

This is a bug in xalan-2.7.0 where doing a count will modify the amount of nodes. Look here http://issues.apache.org/jira/browse/XALANJ-2204

Since a count was done once $variable/variants/variant was returning its results twice. It was fixed by forcing it to return its results only once -> $variable[1]/variants/variant.

Note: See TracTickets for help on using tickets.