Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
0.12
-
None
Description
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 ) )