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

Clustering Only - Success message for activating staging is occassionally incorrect

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.0.X EE, Master
    • Fix Version/s: None
    • Component/s: Staging
    • Fix Priority:
      2

      Description

      Steps to reproduce:

      1. Start both cluster nodes
        • Clustering Properties
          # Set port to 11312 for second node only
          module.framework.properties.osgi.console=11312
          dl.store.impl=com.liferay.portal.store.db.DBStore
          cluster.link.enabled=true
          web.server.display.node=true
          
          cluster.link.channel.system.properties=\
              #
              # Common
              #
              \
              jgroups.bind_addr:${cluster.link.bind.addr["cluster-link-udp"]},\
              jgroups.bind_interface:127.0.0.1,\
              \
              #
              # Multicast
              #
              \
              jgroups.mping.mcast_addr:${multicast.group.address["cluster-link-mping"]},\
              jgroups.mping.mcast_port:${multicast.group.port["cluster-link-mping"]},\
              jgroups.mping.ip_ttl:8
      2. Navigate to Publishing > Staging
      3. Activate remote live

      Result: The success message says "New" instead of "Successful". This bug doesn't seem to happen in a non-clustered environment.

      See Testray results here. The following error corresponds to runs where the incorrect success message shows up:

      java.lang.Exception: Element is not present at "//div[contains(.,'Initial Publication')]//h6[contains(@class,'background-task-status-successful')]"
      

      Reproduced on:
      Tomcat 8.0.32 + MySQL 5.6.26
      Portal ee-7.0.x Git Hash: e78e5dd8a40f10f00ce6c9dedd32dedc764d4b5b

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 15 weeks, 2 days ago

                Packages

                Version Package