Skip to content

4.1.3: GET /api/deprecated-features/used returns an empty state field #14340

@michaelklishin

Description

@michaelklishin

Describe the bug

#14229 has introduced a regression in 4.1.3:

GET /api/deprecated-features/used returns an empty state field/

Reproduction steps

  1. Declare a transient classic queue
  2. curl -s -u guest:guest -X GET http://localhost:15672/api/deprecated-features/used | jq
  3. Inspect the response

Expected behavior

Either the state field should be set correctly or skipped.

For comparison, here is the 4.1.2 output:

[
  {
    "name": "transient_nonexcl_queues",
    "desc": "",
    "deprecation_phase": "permitted_by_default",
    "doc_url": "https://blog.rabbitmq.com/posts/2021/08/4.0-deprecation-announcements/#removal-of-transient-non-exclusive-queues",
    "provided_by": "rabbit"
  }
]

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions