plainblack.com
Username Password
search
Bookmark and Share
View All Tickets
Nested macro errors  (#2884)
IssueSome macros (e.g. LoginToggel, AdminToggle, PageTitle,...) are not working when nested inside the GroupText macro.

I've created a testpage: 

http://demo.plainblack.com/demo1167909472_111/home

 

Solution Summary
Comments
perlDreamer
0
1/4/2007 1:10 pm

I've tinkered with your test site a big and I get the companyName macro and PageTitle macro to work fine. 

I would guess that the problem with the loginToggle macro is that the text it returns has double quotes, and that messes up the parsing of that particular nested macro.

I also added a new test to the test suite to address some of these problems. 

Klaus
0
1/4/2007 1:34 pm

The PageTitle macro nested in the GroupText macro does not work always. For example when turning admin on or off the page titel disappears. It seems to depend on the operation, with the "?op=switchOffAdmin" in the url the page title is not displayed.

Thank you for extending the test suite. There might be other macros with problems as well. On the demo page I've added the companyName macro as reference to see the groupText macro is working at all.

martink
0
1/4/2007 2:01 pm

[quote]The PageTitle macro nested in the GroupText macro does not work always. For example when turning admin on or off the page titel disappears. It seems to depend on the operation, with the "?op=switchOffAdmin" in the url the page title is not displayed.[/quote]

Just shooting with blanks here, but this smells like a caching issue. Caching is disabled when admin is on, but it is enabled when you switch back to normal mode, even if you are admin. Try to purge the cache. Also browser cache could play a role.

perlDreamer
0
1/11/2007 5:05 pm

I've added new docs which talk about the conditions for nesting macros.  This will show up in 7.3.5.

Between that and user level caching questions I'm closing this bug. 

Details
Ticket Status Closed  
Rating0.0 
Submitted ByKlaus 
Date Submitted2007-01-04 
Assigned To unassigned  
Date Assigned2010-09-02 
Assigned By 
Severity Critical (mostly not working)  
What's the bug in?  
WebGUI / WRE Version  
URLbugs/tracker/nested-macro-errors
Keywords
Ticket History
© 2010 Plain Black Corporation | All Rights Reserved