Shindig
  1. Shindig
  2. SHINDIG-1725

osapi.container.util.warn causes errors when used in Internet Explorer

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0-beta1
    • Fix Version/s: 2.5.0-beta1
    • Component/s: Javascript
    • Labels:
      None
    • Environment:
      Internet Explorer 8

      Description

      osapi.container.util.warn uses "console" to do logging. IE complains when "console" is undefined even though the code is checking truthiness.

      osapi.container.util.warn is only used by osapi.container.GadgetSite.prototype.navigateTo and the proposed fix would be to remove osapi.container.util.warn completely and replace it with gadgets.warn, which handles the console object appropriately across browsers.

        Activity

        Stanton Sievers created issue -
        Stanton Sievers made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Stanton Sievers made changes -
        Attachment OsapiContainerUtilWarn.patch [ 12517766 ]
        Stanton Sievers made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Paul Lindner made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Stanton Sievers
            Reporter:
            Stanton Sievers
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 2h
              2h
              Remaining:
              Remaining Estimate - 2h
              2h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development