Details

    • Fix Priority:
      5
    • Similar Issues:
      Show 5 results 

      Description

      Steps to reproduce:

      (1) Place Search portlet on a page
      (2) Go to configuration, check Display Open Search Results, hit Save
      (3) Close popup, search for some test, e.g. test
      (4) scroll down to Open Search section
      (5) hit Add Liferay as a Search Provider button

      Result:
      JavaScript error is raised saying Error: Permission denied for <http://localhost:8080> to call method Sidebar.AddSearchProvider, see screenshot, nothing happens.

      Problem seems to be caused by the call in <portlet:namespace />addSearchProvider() in /html/portlet/search/search.jsp:192:

      Liferay.provide(
          window,
          '<portlet:namespace />addSearchProvider',
          function() {
              window.external.AddSearchProvider("<%= themeDisplay.getPortalURL() %><%= PortalUtil.getPathMain() %>/search/open_search_description.xml?p_l_id=<%= themeDisplay.getPlid() %>&groupId=<%= groupId %>");
          },
          ['aui-base']
      );
      

        Activity

        Hide
        Iliyan Peychev added a comment -

        Works fine using Chrome 25.0.1364.160 and Firefox 19.0.2

        Show
        Iliyan Peychev added a comment - Works fine using Chrome 25.0.1364.160 and Firefox 19.0.2

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 20 weeks, 1 day ago

              Development

                Structure Helper Panel