Details

      Description

      HI we have deployed Liferay in cusom_context, and when try to create URL using Liferay Javascript api, like

      Liferay.PortletURL.createRenderURL();
      Liferay.PortletURL.createResourceURL();
      Liferay.PortletURL.createActionURL();

      The url contains the custom context two times, please look into the issue,
      Ex:- if "rapid" is context then it is giving /rapid/rapid/web/guest/........
      "Steps to replicate:"
      1) Create a plugin with the below code snippet.
      <input type="button" onclick="callMe()" name="hello">
      <script>
      function callMe()

      { alert("hello"); alert(Liferay.PortletURL.createRenderURL()); }

      </script>
      2) Deploy it in a running instance of Liferay 6.2 whose context has been changed.
      Thanks,
      Namit

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              norbert.kocsis Norbert Kocsis (Inactive)
              Reporter:
              namit.srivastava Namit Srivastava
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 19 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.0 M3