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

Errors in opensocial gadget rendering should callback with an error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.24
    • None
    • None

    Description

      In rave_opensocial.js' renderWidget method, if the widget has an error it doesn't callback. Thus, the caller can't try to handle the error.

              exports.renderWidget = function (widget, el, opts) {
                  if (widget.error) {
                      widget.renderError(el, widget.error.message);
                      return;
                  }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            ssievers Stanton Sievers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: