When nested more times, it stops working and breaks the whole page parsing.
This works:
{DIV(class="level1")} {DIV(class="level2")} {DIV(class="level3")} {DIV(class="level4")} {DIV(class="level5")} {DIV(class="level6")} {DIV(class="level7")} Foo Bar {DIV} {DIV} {DIV} {DIV} {DIV} {DIV} {DIV}
This breaks:
{DIV(class="level1")} {DIV(class="level2")} {DIV(class="level3")} {DIV(class="level4")} {DIV(class="level5")} {DIV(class="level6")} {DIV(class="level7")} {DIV(class="level8")} Foo Bar {DIV} {DIV} {DIV} {DIV} {DIV} {DIV} {DIV} {DIV}
See the SHOW instance.
Expected behaviour:
Parsing nested plugins should work flawlessly no matter how many levels are nested or be limited to e.g. 20 levels (ideally should be configurable) but should not break up to that max level; only if above the limit, it could show the unparsed syntax instead of breaking whole content rendering.
A preference was created to allow for more plugin parsing passes. Called: Maximum plugin parsing passes.
A ideal fix entails a re-write of plugin parsing in Tiki, so this preference will allow website owners who have complex plugin needs to use them until such a task can be undertaken.
fixed in r62772
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
The URL for the show.tikiwiki.org instance that demonstrates this bug is at: http://luci-199-5697.show.tikiwiki.org. Note that if you get a popup asking for a username/password, please just enter "show" and "show". This is different from the initial login and password for a new Tiki which is "admin" and "admin".
For the install log, see http://luci-199-5697.show.tikiwiki.org/info.txt
Note that if you see PHP errors or a Tiki claiming to be missing third party software, the instance creation is probably not finished. Please wait a couple minutes and reload.
Snapshots are database dumps of the configuration that developers can download for debugging. Once you have reproduced your bug on the show.tikiwiki.org instance, create a snapshot that can then be downloaded by developers for further investigation.
Snapshots can be accessed at: http://luci-199-5697.show.tikiwiki.org/snapshots/. Note that if you get a popup asking for a username/password, please just enter "show" and "show".
Create new snapshotfilename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |