Skip to content

Management UI: changing queue type resets most of the declaration form (namely the virtual host selected) #15015

@mgrafl

Description

@mgrafl

Describe the bug

When creating a queue via the RabbitMQ management UI, changing the queue Type unexpectedly resets the Virtual Host to "/".
Since the Type input is below the Virtual Host input, this is not intuitive and often leads to queues being created on the wrong vhost.

Reproduction steps

  1. Open the RabbitMQ Management UI.
  2. Go to the "Admin" tab, in the "Virtual Hosts" sub-tab, add a new virtual host (e.g., "myhost").
  3. Go to "Queues and Streams" tab.
  4. Expand the "Add a new queue" section.
  5. For Virtual Host input, select the newly created virtual host.
  6. For Type input, select any other type.
  7. Virtual Host is suddenly reset to "/".

Image

Expected behavior

Virtual Host input should retain selection (i.e., "myvhost") regardless of Type.

Additional context

RabbitMQ version 4.2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions