Details
-
Bug
-
Resolution: Fixed
-
Major
-
0.9.840
-
None
-
None
-
HTML list
-
Description
XWiki fails to render correct HTML for lists if the number of items exceeds a system-dependent threshold.
See this mailing-list thread for details:
Hi,
Interesting.. On our install it only fails at 791
http://www.xwiki.org/xwiki/bin/view/Test/TestBigListThe only thing I see would be a "stack" size issue that makes it fail.
It will probably mean some work to make it independent of recursive call
if there are.You should report a bug in http://jira.xwiki.org
Ludovic
Robin Fernandes a écrit :
- Hide quoted text -
> Hi,
>
> This script correctly generates the following HTML:
>
> #foreach ($number in [1..320])
> * hello $number
> #end
>
> <ul class="star">
> <li>hello 1</li>
> <li>hello 2</li>
> [...]
> <li>hello 319</li>
> <li>hello 320</li>
> </ul>
>
>
> However this script generates the wrong html:
>
> #foreach ($number in [1..321])
> * hello $number
> #end
>
> <strong class="strong"> hello 1
> </strong> hello 2
> <strong class="strong"> hello 3
> </strong> hello 4
> [...]
> <strong class="strong"> hello 319
> </strong> hello 320
> <strong class="strong"> hello 321<p class="paragraph"/>
>
>
> Is this an XWiki problem?