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

Error creating A/B tests on existing experiences

    Details

      Description

      Steps to reproduce:

      1. Install DXP 7.2 GA1
      2. Add some pages with experiences
      3. Update to DXP 7.2 GA1 SP1
      4. Access the pages with experiences
      5. Add an A/B test on a existing experience

      Expected behavior: no errors occur

      Current behavior: an error occur, with error log:

      Unexpected response status 400 with response message: {"exception":"org.springframework.web.bind.MethodArgumentNotValidException","path":"/api/1.0/experiments","debugInfo":{"fieldErrors":[{"DXPExperienceId":"may not be empty"}],"errorCount":1},"error":"Bad Request","message":"Validation failed for argument at index 0 in method: public com.liferay.osb.asah.backend.model.Experiment com.liferay.osb.asah.backend.rest.controller.v1.ExperimentsRestController.postExperiment(com.liferay.osb.asah.backend.model.Experiment), with 1 error(s): [Field error in object 'experiment' on field 'DXPExperienceId': rejected value []; codes [NotBlank.experiment.DXPExperienceId,NotBlank.DXPExperienceId,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [experiment.DXPExperienceId,DXPExperienceId]; arguments []; default message [DXPExperienceId]]; default message [may not be empty]] ","status":400,"timestamp":1569580327334}

       

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 weeks ago

                Packages

                Version Package
                7.2.10 DXP FP2
                7.2.10.1 DXP SP1
                7.2.X
                Master