Forum OpenACS Development: Re: Problem over-loading ns_return

Posted by Gustaf Neumann on
naviserver makes no attempt to preserve "renames" in the blueprint, since renames are destructive, and it is practically impossible to determine where during loading of the blueprint there is the right place to rename a command.

Why are you trying to rename "ns_return"?

Posted by Brian Fenton on
Hi Gustaf

this is some legacy code that was used to hide any "ugly" errors from users. The guy who wrote it decided that replacing ns_return, ns_returnnotfound, ns_returnerror and ad_return_error was preferable to using the config.tcl redirects (in ns/server/${server}/redirects). I think the reason he did this (but I can't really remember to be honest) was that the redirects were no always reliable back in those days.

Seeing as rename is no longer available in this case, it looks like I'll be using the redirects!

thank for the explanation.