Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

POST to service_categories returns blank name #7130

@ocket8888

Description

@ocket8888

This Bug Report affects these Traffic Control components:

  • Traffic Ops

Current behavior:

$ topost -kp service_categories '{"name": "test"}'
{
	"alerts": [
		{
			"text": "serviceCategory was created.",
			"level": "success"
		}
	],
	"response": {
		"lastUpdated": "2022-10-12 17:57:14+00",
		"name": ""
	}
}

Expected behavior:

According to the docs (and what would make sense) the name field is supposed to be populated with the name it actually created. Since the current docs example shows it working that way, I'm going to assume that it used to so this is a regression bug.

Steps to reproduce:

topost -kp service_categories '{"name": "test"}'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Traffic Opsrelated to Traffic Opslow difficultythe estimated level of effort to resolve this issue is lowlow impactaffects only a small portion of a CDN, and cannot itself break oneregression buga bug in existing functionality introduced by a new version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions