Uploaded image for project: '[Read Only] - Hippo Theme'
  1. [Read Only] - Hippo Theme
  2. HIPPOTHEME-120

Angular apps log JavaScript warnings about $tooltip and $translateSanitization

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0
    • 0
    • Tiger Sprint 119, Tiger Sprint 120

    Description

      After the last upgrade of the Bower dependencies, the Angular apps in the channel manager log the following JavaScript warnings when opened:

      $tooltip is now deprecated. Use $uibTooltip instead.
      pascalprecht.translate.$translateSanitization: No sanitization strategy has been configured. This can have serious security implications. See http://angular-translate.github.io/docs/#/guide/19_security for details.
      tooltip-popup is now deprecated. Use uib-tooltip-popup instead.
      

      Steps to reproduce:
      1. start the HAP trunk CMS (community or enterprise)
      2. view a channel
      3. click the 'Pages' button
      4. hover over the disabled 'Add page' button

      Expected: no JavaScript warnings logged
      Actual: all the JavaScript warnings mentioned above are logged

      The same warnings are logged when opening the 'Page Settings' and 'Menu Editor' dialogs.

      Attachments

        Issue Links

          Activity

            People

              pgupta Pankaj Gupta (Inactive)
              tjeger Tobias Jeger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: