Project

General

Profile

Bug #18389

Updating a content view's label returns a 200 but it should be a 400 or 422

Added by Christine Fouant over 2 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Category:
Content Views
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1147100

Description of problem:

Since a content view's label is immutable, once you create one you should not be able to update its label. This works fine, but using the API to update an existing label should return a 400 HTTP status code (or perhaps 422?), but instead it is returning a 200.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Use the API layer to create a new content view
2. Use the API to update the content view's label
3.

Actual results:

The label is not updated but the HTTP status code is 200.

Expected results:

The HTTP status code should be 400.

Additional info:

History

#1 Updated by Justin Sherrill over 2 years ago

  • Category set to Content Views
  • Legacy Backlogs Release (now unused) set to 114

Also available in: Atom PDF