Discussion:
[rabbitmq-discuss] Virtual host switch in the 3.0.2 web management
Gotthard, Petr
2013-02-07 13:52:18 UTC
Permalink
Hello,

The "Virtual host" switch in the top right corner of the web management of RabbitMQ 3.0.2 (at Firefox 18.0.2) behaves strange when I select something else than "All", i.e. when I select a specific virtual host name. (I have two virtual hosts.)

(1) the Overview, Connections, Channels and Admin pages say "Not found" (The object you clicked on was not found; it may have been deleted on the server.)

(2) "add new" sections for Exchanges and Queues show empty "Virtual host" field, which means I cannot select any valid value when creating a new exchange/queue. The Virtual host filed in the Add exchange/queue section should probably show the same value as the Virtual host field in the top right corner.

When I select "All" everything works well.

Is it a bug, or did I set something wrong?


Petr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130207/60c2f883/attachment.htm>
Simon MacMullen
2013-02-07 14:10:27 UTC
Permalink
Hmm, I really can't replicate either of these using the 3.0.2 release
and the same version of Firefox. At the same time I don't see how you
could have configured anything wrong. Try clearing your cache?

Cheers, Simon
Post by Gotthard, Petr
Hello,
The ?Virtual host? switch in the top right corner of the web management
of RabbitMQ 3.0.2 (at Firefox 18.0.2) behaves strange when I select
something else than ?All?, i.e. when I select a specific virtual host
name. (I have two virtual hosts.)
(1) the Overview, Connections, Channels and Admin pages say ?Not found?
(The object you clicked on was not found; it may have been deleted on
the server.)
(2) ?add new? sections for Exchanges and Queues show empty ?Virtual
host? field, which means I cannot select any valid value when creating a
new exchange/queue. The Virtual host filed in the Add exchange/queue
section should probably show the same value as the Virtual host field in
the top right corner.
When I select ?All? everything works well.
Is it a bug, or did I set something wrong?
Petr
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
--
Simon MacMullen
RabbitMQ, VMware
Gotthard, Petr
2013-02-07 14:36:24 UTC
Permalink
Well, it seems that it's somehow caused by my custom management plug-in. Most likely I forgot something when migrating my plug-in to 3.x: I added the NAVIGATION[] array setting, but there's probably something more.

Petr

-----Original Message-----
From: Simon MacMullen [mailto:simon at rabbitmq.com]
Sent: 7. ?nora 2013 15:10
To: Discussions about RabbitMQ
Cc: Gotthard, Petr
Subject: Re: [rabbitmq-discuss] Virtual host switch in the 3.0.2 web management

Hmm, I really can't replicate either of these using the 3.0.2 release and the same version of Firefox. At the same time I don't see how you could have configured anything wrong. Try clearing your cache?

Cheers, Simon
Post by Gotthard, Petr
Hello,
The "Virtual host" switch in the top right corner of the web
management of RabbitMQ 3.0.2 (at Firefox 18.0.2) behaves strange when
I select something else than "All", i.e. when I select a specific
virtual host name. (I have two virtual hosts.)
(1) the Overview, Connections, Channels and Admin pages say "Not found"
(The object you clicked on was not found; it may have been deleted on
the server.)
(2) "add new" sections for Exchanges and Queues show empty "Virtual
host" field, which means I cannot select any valid value when creating
a new exchange/queue. The Virtual host filed in the Add exchange/queue
section should probably show the same value as the Virtual host field
in the top right corner.
When I select "All" everything works well.
Is it a bug, or did I set something wrong?
Petr
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
--
Simon MacMullen
RabbitMQ, VMware
Simon MacMullen
2013-02-07 14:38:00 UTC
Permalink
Post by Gotthard, Petr
Well, it seems that it's somehow caused by my custom management
plug-in. Most likely I forgot something when migrating my plug-in to
3.x: I added the NAVIGATION[] array setting, but there's probably
something more.
Is the source available anywhere? I could have a look at it.

Cheers, Simon
--
Simon MacMullen
RabbitMQ, VMware
Gotthard, Petr
2013-02-07 16:19:51 UTC
Permalink
The code is not available, but I found the problem:

VHOST_QUERIES["/xyz"] = "";

needed to be replaced by

VHOST_QUERIES.push(new RegExp("/xyz"));



Petr

-----Original Message-----
From: Simon MacMullen [mailto:simon at rabbitmq.com]
Sent: 7. ?nora 2013 15:38
To: Gotthard, Petr
Cc: Discussions about RabbitMQ
Subject: Re: [rabbitmq-discuss] Virtual host switch in the 3.0.2 web management
Post by Gotthard, Petr
Well, it seems that it's somehow caused by my custom management
plug-in. Most likely I forgot something when migrating my plug-in to
3.x: I added the NAVIGATION[] array setting, but there's probably
something more.
Is the source available anywhere? I could have a look at it.

Cheers, Simon
--
Simon MacMullen
RabbitMQ, VMware
Continue reading on narkive:
Loading...