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

AC is not being informed of which variant has been published

    Details

      Description

      Prerequisites:

      Liferay DXP must be configured as a Data Source in AC

      Steps to reproduce:

      1. Create a content page
      2. Add a button and Publish page
      3. View Page and Click on AB Test botton
      4. Create AB Test and Create variant
      5. Review and Run Test
      6. Wait till AB Test is finished (status NO WINNER and WINNER DECLARED)
      7. Publish a variant

      Expected:

      The variant is published and the new status for the experiment is COMPLETED

      Actual:

      An error message is shown "Error: An unexpected error occurred." and in the console:

      Caused by: javax.ws.rs.ClientErrorException: Unexpected response status 400 with response message: {"exception":"com.liferay.osb.asah.common.spring.http.exception.OSBAsahException","path":"/api/1.0/experiments/379391067012998798","error":"Bad Request","message":"Transition to COMPLETED requires published DXP variant ID","status":400,"timestamp":1569411487897}

      Remarks:
      As a workaround, the publication of a variant can be done from AC
      Steps:

      1. Create a content page
      2. Add a button and Publish page
      3. View Page and Click on AB Test botton
      4. Create AB Test and Create variant
      5. Review and Run Test
      6. Wait till AB Test is finished (status NO WINNER and WINNER DECLARED)
      7. Click on View Data on AC
      8. Publish winner variant on AC

       

        Attachments

          Activity

            People

            Assignee:
            manoel.cyreno Manoel Cyreno
            Reporter:
            david.arques David Arques (Inactive)
            Participants of an Issue:
            Recent user:
            Jason Pince
            Engineering Assignee:
            David Arques (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 37 weeks, 6 days ago

                Packages

                Version Package
                7.2.10 DXP FP2
                7.2.10.1 DXP SP1
                7.3.10 DXP GA1
                Master