Loading...
 
Skip to main content

PluginGroup breaks PluginCode v6.7 & dev.tiki.org

Status
Open
Subject
PluginGroup breaks PluginCode v6.7 & dev.tiki.org
Version
6.x
Category
  • Conflict of two features (each works well independently)
  • Error
  • Regression
  • Dogfood on a *.tiki.org site
Feature
Wiki Plugin (extends basic syntax)
Submitted by
EmmArrBee
Lastmod by
EmmArrBee
Rating
(0)
Description

GROUP Plugin breaks CODE Plugin


Affects both v6.7 and this site. Worked OK on v4.3

1. Code outside Group
Copy to clipboard
{GROUP(groups=>Registered|Admins, notgroups=Editors)}some content{ELSE}other content{GROUP}


Now add a {GROUP(groups=>Registered)} include the same code snippet and close out the {GROUP}. Start of CODE within GROUP

other content{GROUP}{CODE}


End of CODE within GROUP. On v6.7 the code box is displayed and the code snippet is truncated at the start of the Else statement fro a registered user. On this site, the code box is not displayed and the code is truncated at the same point for a registered user.

For an anonymous user, on both versions, there is no code box and the user see "other content{GROUP}{CODE} "

Repeating the code snippet again outside of the restricting Group statement works

3. Code outside Group
Copy to clipboard
{GROUP(groups=>Registered|Admins, notgroups=Editors)}some content{ELSE}other content{GROUP}
.


The code example is lifted from http://doc.tiki.org/PluginGroup with a caption statement added.

Happy to help test any patch,

Martin.

Importance
8
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
4239
Created
Saturday 09 June, 2012 19:18:29 UTC
by EmmArrBee
LastModif
Friday 15 June, 2012 19:04:25 UTC


Show PHP error messages