Project

Profile

Help

Issue #797

closed

Wrong message error during query content applicability request

Added by ipanova@redhat.com over 7 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
Platform Release:
2.7.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

$ curl -i -H "Accept: application/json" -H "WebFrameworkSwitch: webpy" -X POST -k -u admin:admin -d '{}' "https://localhost/pulp/api/v2/consumers/content/applicability/"
HTTP/1.1 400 Bad Request
Date: Wed, 18 Mar 2015 17:26:17 GMT
Server: Apache/2.4.10 (Fedora) OpenSSL/1.0.1e-fips mod_wsgi/3.5 Python/2.7.5
Content-Length: 34
Connection: close
Content-Type: application/json

"Invalid properties: ['criteria']"

I expect:
$ curl -i -H "Accept: application/json" -H "WebFrameworkSwitch: django" -X POST -k -u admin:admin -d '{}' "https://localhost/pulp/api/v2/consumers/content/applicability/"
HTTP/1.1 400 BAD REQUEST
Date: Wed, 18 Mar 2015 17:26:35 GMT
Server: Apache/2.4.10 (Fedora) OpenSSL/1.0.1e-fips mod_wsgi/3.5 Python/2.7.5
Content-Length: 93
Connection: close
Content-Type: text/html; charset=utf-8

Invalid properties: ["The input to this method must be a JSON object with a 'criteria' key."]

Actions #1

Updated by ipanova@redhat.com over 7 years ago

  • Status changed from NEW to POST
Actions #2

Updated by bmbouter over 7 years ago

  • Severity changed from Low to 1. Low
Actions #3

Updated by ipanova@redhat.com over 7 years ago

  • Status changed from POST to MODIFIED
Actions #4

Updated by dkliban@redhat.com over 7 years ago

  • Platform Release set to 2.7.0
Actions #5

Updated by dkliban@redhat.com over 7 years ago

  • Status changed from MODIFIED to 5
Actions #6

Updated by igulina@redhat.com about 7 years ago

  • Status changed from 5 to 6
>> rpm -qa pulp-server
pulp-server-2.7.0-0.4.beta.el7.noarch

>> curl -i -H "Accept: application/json" -H "WebFrameworkSwitch: webpy" -X POST -k -u admin:admin -d '{}' "https://localhost/pulp/api/v2/consumers/content/applicability/" 
HTTP/1.1 400 BAD REQUEST
Date: Wed, 15 Jul 2015 12:43:42 GMT
Server: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips mod_wsgi/3.4 Python/2.7.5
Content-Length: 93
Connection: close
Content-Type: text/html; charset=utf-8

Invalid properties: ["The input to this method must be a JSON object with a 'criteria' key."]
Actions #7

Updated by amacdona@redhat.com almost 7 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE
Actions #9

Updated by bmbouter over 3 years ago

  • Tags Pulp 2 added
Actions #10

Updated by bmbouter over 2 years ago

  • Category deleted (14)

We are removing the 'API' category per open floor discussion June 16, 2020.

Also available in: Atom PDF