Uploaded image for project: 'Hippo Theme'
  1. Hippo Theme
  2. HIPPOTHEME-120

Angular apps log JavaScript warnings about $tooltip and $translateSanitization

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Labels:
    • Similar issues:
    • Story Points:
      0
    • Sprint:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: