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

    • Type: Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.2.10.1 DXP SP1
    • Fix Version/s: None
    • Component/s: Workflow > API
    • Labels:
    • Fix Priority:
      3

      Description

      Steps To Reproduce:

      1. Unzip Liferay DXP 7.2 SP1
      2. Startup and deploy license
      3. Test command:
        curl -X DELETE -u "test@liferay.com: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 "test@liferay.com: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

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

                Dates

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

                  Packages

                  Version Package