Bug 1035525

Summary: problem creating simplelist with more than 1000 members
Product: [Community] Publican Reporter: Tomas Dabašinskas <tdabasin>
Component: publicanAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: Ruediger Landmann <rlandman>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.2CC: aigao, rlandman
Target Milestone: 4.1   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.1.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-05 06:03:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.