From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.9 (X11; Linux i686; U;) Gecko/20030314
Description of problem:
The c.a.kernel.KernelHelper class has been deprecated for several releases now,
with equivalent & better functionality available from KernelContext and
WebContext. It is about time it was removed altogether, particularly so we can
identify the few remaining places that use getCurrentUser().
Version-Release number of selected component (if applicable):
Steps to Reproduce:
I turns out that since we removed most of the config params from the
legacy kernel.Initializer, nothing is ever setting up the variables
used by getServerName(), getServerPort(), getHostname() methods of
KernelHelper. As a result all code that does still happen to be using
KernelHelper is getting "" & thus breaking in also sorts of subtle ways.
We should either remove getServerName(), etc immediately forcing
people to switch the new APIs, or make the existing deprecated ones
proxies for corresponding methods in Web.getConfig() so that the
existing semantics are preserved.
Closing old tickets