Project

General

Profile

Actions

Bug #18389

open

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

Added by Christine Fouant over 8 years ago. Updated 8 months ago.

Status:
New
Priority:
Normal
Category:
Content Views
Target version:
-
Difficulty:
Triaged:
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:

Actions #1

Updated by Justin Sherrill about 8 years ago

  • Category set to Content Views
  • Translation missing: en.field_release set to 114
Actions #2

Updated by Ian Ballou 8 months ago

  • Target version deleted (Katello Backlog)
Actions

Also available in: Atom PDF