plainblack.com
Username Password
search
Bookmark and Share
View All Tickets
Wrong use of Extras macro?  (#11455)
Issue

If found this in the head tags of the Anonymous Registration template:

^Extras;yui/build/yahoo-dom-event/yahoo-dom-event.js

I think that's a bug. I know that using / macro like that can cause problems, for example ^/;folder should be ^/(folder);

So I figure it's the same story for the Extras macro, right?

^Extras(yui/build/yahoo-dom-event/yahoo-dom-event.js);

Found in 7.7.32 stable, confirmed in 7.8.13 beta.

Thanks,

Rogier

Solution Summary
Comments
bartjol
0
3/4/2010 7:32 am
well the proposed use workes already, the template works too. But, you are right, better to use it as intended
rogier
0
3/4/2010 7:46 am
No, it works fine. For the / macro I know there is a possibility that it goes wrong, albeit a small possibility. Maybe for the extras folder it's not an issue.

One more question: if this is a bug, should this have been picked up by the automated testing?
bartjol
0
3/4/2010 7:54 am
After looking in the code, you should be fine as far as I can see.
I don't think this should be picked up by testing
perlDreamer
0
3/4/2010 9:09 am
It's not a bug.  The issue with the gateway macro is that when used incorrectly it breaks when used in conjunction with Prevent Proxy Cache.  The extras macro doesn't use that feature because we don't care about caching stuff in extras.  It should be the same all the time.

Still, it would be nice, for the sake of consistency, if we never abutted macros like that.  Maybe we'll fix it for style reasons in 7.9.
perlDreamer
0
7/12/2010 7:02 pm
Fixed in WebGUI 7.9.9 (fd153b8)
Details
Ticket Status Resolved  
Rating0.0 
Submitted Byrogier 
Date Submitted2010-03-04 
Assigned To unassigned  
Date Assigned2012-02-11 
Assigned By 
Severity Cosmetic (misspelling, formatting problems)  
What's the bug in? WebGUI Stable  
WebGUI / WRE Version 7.7.32  
URLuse/bugs/tracker/11455
Keywords
Ticket History
7/12/2010
7:02 PM
Resolved perlDreamer
3/4/2010
7:20 AM
Ticket created rogier
© 2012 Plain Black Corporation | All Rights Reserved