Hide Forgot
Description of problem: Although Documentation at https://fedorahosted.org/pulp/wiki/UGREST-Filters tells us that "404 Not Found" is returned "if there is no such filter", using the latest public build we get a 200 response containing the string "null". Version-Release number of selected component (if applicable): $ rpm -qa | grep pulp pulp-admin-0.0.244-5.fc15.noarch pulp-0.0.244-5.fc15.noarch pulp-common-0.0.244-5.fc15.noarch mod_wsgi-3.2-6.pulp.fc15.i686 m2crypto-0.21.1.pulp-5.fc15.i686 pulp-client-lib-0.0.244-5.fc15.noarch How reproducible: Make a GET request for a single non-existent filter -> Response is "200 OK" Actual results: 200 OK Expected results: 404 Not found Additional info: All the other GET for a single element so far replied 404, which is in line with how common APIs work.
commit cb3a6f6abe23b222fd47808148ecb13e8ca0b761 Author: Sayli Karmarkar <skarmark> Date: Mon Nov 21 20:22:07 2011 -0800 755625 - Non-existent filter now replies with a 404
build: 0.252
[root@katello-test ~]# rpm -q pulp pulp-0.0.252-1.el6.noarch [root@katello-test ~]# curl -k -u admin:admin -X GET https://localhost/pulp/api/filters/test/ "A filter with the id, test, does not exist"[root@katello-test ~]#
Pulp v1.0 is released Closed Current Release.
Pulp v1.0 is released.