Uploaded image for project: 'Rave'
  1. Rave
  2. RAVE-623

Logging for OpenAjax.hub methods causes error and silently fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.12
    • 0.12
    • rave-portal
    • 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 ) )

      { ... }

      Attachments

        Activity

          People

            geerzo Chris Geer
            geerzo Chris Geer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: