« Return to Thread: [Bug 617] New: Macros are handled incorrectly in (special) case of Root as prototype extent

[Bug 617] Macros are handled incorrectly in (special) case of Root as prototype extent

by Bugzilla from bugzilla-daemon@helma.at :: Rate this Message:

Reply to Author | View in Thread

http://helma.org/bugs/show_bug.cgi?id=617





------- Comment #4 from interface@...  2008-06-15 20:37 -------
After commenting out lines 1093-1110 of helma/framework/core/Skin.java [1] as
you suggested via Jabber I made the following observations:

 * A "story" handler in a comment skin (with a comment being an extent of the
story prototype) results in an "unhandled macro error" even with a story object
in the path
 * Defining res.handlers.story with the appropriate comment works now
 * However, the "root" handler is not resolved correctly anymore at least when
using virtual hosts; <% root.href %> becomes http://[siteName].antville.org
instead of http://www.antville.org (Note: root is inherited from the site
prototype in Antville) -- I don't fully understand what's happening here, yet.

--
[1]
http://dev.helma.org/trac/helma/browser/helma/helma/trunk/src/helma/framework/core/Skin.java#L1093


--
Configure bugmail: http://helma.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Helma-dev mailing list
Helma-dev@...
http://helma.org/mailman/listinfo/helma-dev

 « Return to Thread: [Bug 617] New: Macros are handled incorrectly in (special) case of Root as prototype extent