Bug 1035525 - problem creating simplelist with more than 1000 members
Summary: problem creating simplelist with more than 1000 members
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 4.1
Assignee: Jeff Fearn 🐞
QA Contact: Ruediger Landmann
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-28 02:29 UTC by Tomas Dabašinskas
Modified: 2014-05-05 06:03 UTC (History)
2 users (show)

Fixed In Version: 4.1.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-05 06:03:25 UTC


Attachments (Terms of Use)

Description Tomas Dabašinskas 2013-11-28 02:29:10 UTC
Description of problem:

when generating a simplelist with more than 1000 rows, I get an error:
runtime error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.77.1/xhtml/docbook.xsl line 108 element value-of
xsltApplyXSLTTemplate: A potential infinite template recursion was detected.
You can adjust xsltMaxDepth (--maxdepth) in order to raise the maximum number of nested template calls and variables/params (currently set to 1000).


Version-Release number of selected component (if applicable):

3.2.1

How reproducible:

create simplelist tag with more than 1000 members


Additional info:

I've edited /usr/share/perl5/vendor_perl/Publican/Builder.pm:
-XML::LibXSLT->max_depth(1000);
+XML::LibXSLT->max_depth(10000);

works fine

Comment 2 Tomas Dabašinskas 2013-11-28 02:37:07 UTC
It appears this bug has same problem BZ579786

Comment 3 Jeff Fearn 🐞 2013-11-28 02:42:36 UTC
(In reply to Tomas Dabašinskas from comment #2)
> It appears this bug has same problem BZ579786

No, that was a bug where the user didn't actually have more than 1000 children, whereas you are saying you are just exceeding this limit.

Comment 4 Jeff Fearn 🐞 2014-02-28 00:17:28 UTC
Raised to 10K.

To ssh://git.fedorahosted.org/git/publican.git
   25ac483..80357fa  devel -> devel

Comment 5 Jeff Fearn 🐞 2014-05-05 06:03:25 UTC
A fix for this shipped in Publican 4.1.0.


Note You need to log in before you can comment on or make changes to this bug.