Issue #322
closed_href is wrong in consumer profile response body
Description
$ curl -i -H "Accept: application/json" -H "WebFrameworkSwitch: webpy" -X POST -k -u admin:admin -d '{"content_type":"rpm", "profile":[]}' "https://localhost/pulp/api/v2/consumers/c1/profiles/"
HTTP/1.1 201 Created
Date: Thu, 26 Feb 2015 12:03:18 GMT
Server: Apache/2.4.10 (Fedora) OpenSSL/1.0.1e-fips mod_wsgi/3.5 Python/2.7.5
Location: /pulp/api/v2/consumers/c1/profiles/c1/rpm/
Content-Length: 310
Content-Type: application/json
{"profile": [], "_href": "/pulp/api/v2/consumers/c1/profiles/c1/rpm/", "_ns": "consumer_unit_profiles", "profile_hash": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945", "consumer_id": "c1", "content_type": "rpm", "_id": {"$oid": "54ef050845ef48674c3f5f50"}, "id": "54ef050845ef48674c3f5f50"}
Related issues
Updated by ipanova@redhat.com over 8 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ipanova@redhat.com
Updated by ipanova@redhat.com over 8 years ago
- Status changed from ASSIGNED to 7
- Parent task set to #466
Updated by bmbouter over 8 years ago
- Triaged changed from No to Yes
- Severity set to Low
Updated by bmbouter over 8 years ago
- Status changed from 7 to CLOSED - DUPLICATE
Updated by bmbouter over 8 years ago
- Is duplicate of Issue #466: Wrong _href in the response body of consumer profile creation added
Updated by bmbouter over 3 years ago
- Category deleted (
14)
We are removing the 'API' category per open floor discussion June 16, 2020.