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

DELETE requests returns "No validator could be found" error in Windows environments

Details

    • Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • 7.2.10.1 DXP SP1
    • None
    • Workflow > API
    • 3

    Description

      Steps To Reproduce:

      1. Unzip Liferay DXP 7.2 SP1
      2. Startup and deploy license
      3. Test command:
        curl -X DELETE -u "[email protected]:test" "http://localhost:8080/o/segments-asah/v1.0/experiments/abc"
      4. Sign in and go through initialization process
      5. Go to Control Panel > Configuration > Gogo Shell
      6. Run the below command in the Gogo Shell to get the bundleId of the asah rest API module
        lb asah
      7. Run the following command in the Gogo Shell:
        refresh [bundleId]
      8. Run this command again:
        curl -X DELETE -u "[email protected]:test" "http://localhost:8080/o/segments-asah/v1.0/experiments/abc"

      Expected Results:
      The command returns nothing just like in step 3.

      Actual Results:
      An error is thrown.

      No validator could be found for constraint 'javax.validation.constraints.NotNull' validating type 'java.lang.String'. Check configuration for 'deleteExperiment.arg0
      

      Reproduced in:
      7.2 SP1

      Not reproduced in:
      7.2.x
      Master

      Attachments

        Issue Links

          Activity

            People

              eric.yan Eric Yan
              lianne.louie Lianne Louie
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3 years, 11 weeks, 3 days ago

                Packages

                  Version Package