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

Unable to change staging configuration if the remote environment no longer exists

    Details

      Description

      1. Create staged site on http://172.16.21.247:8090
      2. Create initial remote site on http://172.16.21.247:8080
      3. Enable remote staging
      4. Drop the database connected to the remote site on http://172.16.21.247:8080
      5. Create a new Portal on a machine with a different address/port, appending the tunnel.servlet.hosts.allowed and axis.servlet.hosts.allowed properties with the machine's address (i.e. 172.16.17.43)
      6. Create a user that coincides with the user who is publishing on the staged server (i.e. test@liferay.com)
      7. Attempt to modify the staged site's connection to the new remote site (site id 10462) on the new address/port (i.e. http://172.16.17.43:9080)
      Expected Result: Changes are successfully implemented.
      Actual Result: We are unable to change the Staging settings. The Portal continues to reference the old
      Your request failed to complete.
      Could not connect to address http://172.16.21.247:9080. Please verify that the specified port is correct and that the remote server is configured to accept requests from this server.
      8. When trying to disable staging, the same message appears:
      Your request failed to complete.
      Could not connect to address http://172.16.21.247:9080. Please verify that the specified port is correct and that the remote server is configured to accept requests from this server.
      Branch:
      commit 45ba28f25b4d91783623bc4696d81c97d53cb15c
      Issue is reproduced
      Master:
      commit 4f01c5e20b5113b5422e159828d699ce0c14998b
      Errors during startup. Cannot test.

        Attachments

        1. optionUI.jpg
          83 kB
          Shitian "Shelton" Zhang

          Issue Links

            Activity

              People

              Assignee:
              shitian.zhang Shitian "Shelton" Zhang (Inactive)
              Reporter:
              andrew.betts Andrew Betts
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 14 weeks, 2 days ago

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE
                  7.0.0 M3