New Message: Bug in GetDepartment[RSS]URL

webmaster at userland.com webmaster at userland.com
Wed Feb 1 15:35:36 CST 2006


A new message was posted:

Address: http://manila.userland.com/discuss/msgReader$1597

By: Matt Deatherage (frontier at gcsf.com)

The routines manilaSuite.new.getDepartmentURL and manilaSuite.news.GetDepartmentRSSUrl fail in 9.5 if they're called outside of a page rendering context.

The problem is in the last line of each: although both routines take "adrsite", the address of a site table, as a parameter, neither of them passes it along as an optional parameter to manilaSuite.getSiteURL(). That routine requires the address of a site table to work outside a page-rendering context, and says so in its code.

Simple fix: in both routines, change:

return(manilaSuite.getSiteURL() + ...

to:

return(manilaSuite.getSiteURL(adrSite) + ...

This is a Manila site... http://manila.userland.com/.




More information about the Manila-Users mailing list