Chris Geer created RAVE-623:
-------------------------------
Summary: Logging for OpenAjax.hub methods causes error and
silently fails
Key: RAVE-623
URL: https://issues.apache.org/jira/browse/RAVE-623
Project: Rave
Issue Type: Bug
Components: rave-portal
Affects Versions: 0.12
Reporter: Chris Geer
Priority: Critical
Rave implements three handlers for OpenAjax.hub events (onSubscribe,
onUnsubscribe & onPublish). Rave is currently logging messages to the console
when those are called however they are causing errors. When subscribe is called
from the container, the "container" variable(s) are passed in as null which
causes a null pointer equivalent error.
For example:
OpenAjax.hub.ManagedHub.prototype.subscribe = function( topic, onData, scope,
onComplete, subscriberData )
{
...
// check subscribe permission
if ( ! this._invokeOnSubscribe( topic, null ) ) {
...
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira