Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-78230

URL error when you click the "Go to Remote Live" link.

    Details

      Description

      Steps to reproduce:

      1. Choose one bundle B -> Go to bundle/tomcat-8.0.32/conf/server.xml.
      2. Open server.xml.
        server.xml
        • Change
          "<Server port="8005" shutdown="SHUTDOWN">"
          To
          "<Server port="9005" shutdown="SHUTDOWN">"
        • Change
          " <Connector port="8080" protocol="HTTP/1.1"
          connectionTimeout="20000"
          redirectPort="8443" URIEncoding="UTF-8" />"
          To
          " <Connector port="9080" protocol="HTTP/1.1"
          connectionTimeout="20000"
          redirectPort="9443" URIEncoding="UTF-8" />"
        • Change
          "<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" URIEncoding="UTF-8" />"
          To
          "<Connector port="9009" protocol="AJP/1.3" redirectPort="9443" URIEncoding="UTF-8" />"
      3. Be sure that bundle A's portal-ext.properties does not contain javascript.single.page.application.enabled=false, Single Page Application must be enabled.
      4. Start two bundle A & B.
      5. Set A(Staging) and B (Remote Live) with host localhost.
      6. Click "Go to Remote Live" link in Bundle A.

      Expected Results:
      You can successfully switch to the remote live page.

      Actual Results:
      The requested resource could not be found. localhost:9080 changes to localhost:8080 See Attachment "staging_URL.mp4".

      A simpler way to reproduce the issue:

      1. Be sure, that your running portal is not on port: 9080.
      2. Import the attached Test_SPA_Export LAR to Liferay site with Publishing -> Import.
      3. Go to Site
      4. Examine the Button in the Web Content, check the URL behind, click on it.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 27 weeks, 3 days ago

                  Packages

                  Version Package
                  7.1.0 M2
                  7.1.X
                  Master