Use the usual idiom for checking if the connection is active... why in the first place was this change necessary? Who calls thisin which way this www-*method without a connection?
Fix coming from automated tests: - port the downstream WU logics for the standard portlet (upstream query was broken) - fix broken message key references