Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-1661

[Alias][IE8] Display of an alias -> error js

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.0
    • 3.0RC1
    • Plugin : Alias
    • None
    • IE8

      How to reproduce

      • connect to the cms
      • create a page alias with the origin URL "/fr/index.html" (or another page existing in sitemap)
      • open the page "/fr/index.html"

      Actual behavoir

      • error js

      Excepted behavoir

      • no error

          [CMS-1661] [Alias][IE8] Display of an alias -> error js

          Laurence Aumeunier added a comment - - edited

          An alias with a path of an existing page is authorized but active (ignored by the page redirection action) while the page exists
          A warning is shown to the user.

          Laurence Aumeunier added a comment - - edited An alias with a path of an existing page is authorized but active (ignored by the page redirection action) while the page exists A warning is shown to the user.

          Infinite loop in PageTool.i18n.js

           if (iframe.contentWindow.location.href.indexOf(RegExp.$1 + iframe.getAttribute("baseUrl")) != 0)
          {
                 iframe.contentWindow.location.href = iframe.getAttribute("baseUrl");
          } 
          

          iframe.getAttribute("baseUrl") = "/fr/index.html"
          iframe.contentWindow.location.href = "/fr/contact.html" (page of redirection)

          Laurence Aumeunier added a comment - Infinite loop in PageTool.i18n.js if (iframe.contentWindow.location.href.indexOf(RegExp.$1 + iframe.getAttribute( "baseUrl" )) != 0) { iframe.contentWindow.location.href = iframe.getAttribute( "baseUrl" ); } iframe.getAttribute("baseUrl") = "/fr/index.html" iframe.contentWindow.location.href = "/fr/contact.html" (page of redirection)

          On FF, the page tool blink and the JS error is the following :

          pageTool is undefined
          http://cmsweb.themis.anyware.corp:7070/plugins/web/resources/js/org/ametys/web/skin/UIZoneItem.js
          Line 44
          
          pageTool is undefined
          http://cmsweb.themis.anyware.corp:7070/plugins/web/resources/js/org/ametys/web/skin/UIZone.i18n.js
          Line 45
          

          Laurence Aumeunier added a comment - On FF, the page tool blink and the JS error is the following : pageTool is undefined http://cmsweb.themis.anyware.corp:7070/plugins/web/resources/js/org/ametys/web/skin/UIZoneItem.js Line 44 pageTool is undefined http://cmsweb.themis.anyware.corp:7070/plugins/web/resources/js/org/ametys/web/skin/UIZone.i18n.js Line 45

          Détails de l'erreur de la page Web

          Message : Permission refusée
          Ligne : 227
          Caractère : 2
          Code : 0
          URI : http://spiro:8080/plugins/web/resources/js/org/ametys/web/tool/page/PageTool.i18n.js

          Laurence Perier added a comment - Détails de l'erreur de la page Web Message : Permission refusée Ligne : 227 Caractère : 2 Code : 0 URI : http://spiro:8080/plugins/web/resources/js/org/ametys/web/tool/page/PageTool.i18n.js

            laurence Laurence Aumeunier
            lperier Laurence Perier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: