Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Limit Tab in 3.11.8 #7142

Closed
fontexD opened this issue Feb 1, 2023 · 3 comments · Fixed by #7144
Closed

Issue with Limit Tab in 3.11.8 #7142

fontexD opened this issue Feb 1, 2023 · 3 comments · Fixed by #7144
Assignees
Labels
Milestone

Comments

@fontexD
Copy link

fontexD commented Feb 1, 2023

im using the latest RabbitMQ 3.11.8 in k8s.

im getting this error in the limit tab, tried just about everything which google have of solutions

rabbitmq-admin-limit

had the same issue for the user tab to start with, but a refresh of the browser cache fixed that, but cant seem to get it to work on limit tab this is my cm

enabled_plugins: |
[rabbitmq_federation,rabbitmq_management,rabbitmq_peer_discovery_k8s,rabbitmq_prometheus].
rabbitmq.conf: |
loopback_users.guest = false
listeners.tcp.default = 5672
cluster_formation.peer_discovery_backend = k8s
cluster_formation.k8s.host = kubernetes.default.svc.cluster.local
cluster_formation.k8s.address_type = hostname

ref to issue created in rabbitmq:docker

docker-library/rabbitmq#603

issue replicated by another user, so it shouldt be related to running containerized

@lukebakken
Copy link
Collaborator

  • Please browse to that URL using incognito mode
  • Please do the same using Firefox

@fontexD
Copy link
Author

fontexD commented Feb 1, 2023

just tested with 3.11.7 everything works perfect there! both with chrome , firefox, incognito, non incognito

with 3.11.8 firefox

TypeError: users.items is undefined this.process@http://192.168.1.222:15672/js/ejs-1.0.min.js line 1 > eval:149:59 render@http://192.168.1.222:15672/js/ejs-1.0.min.js:1:1885 format@http://192.168.1.222:15672/js/main.js:1156:21 with_update/<@http://192.168.1.222:15672/js/main.js:461:30 with_reqs@http://192.168.1.222:15672/js/main.js:1138:12 with_reqs/<@http://192.168.1.222:15672/js/main.js:1134:26 with_req/req.onreadystatechange@http://192.168.1.222:15672/js/main.js:1215:20

incognito chrome

TypeError: Cannot read properties of undefined (reading 'length') TypeError: Cannot read properties of undefined (reading 'length') at Array.process (eval at compile (http://192.168.1.222:15672/js/ejs-1.0.min.js:1:6654), :149:75) at EJS.render (http://192.168.1.222:15672/js/ejs-1.0.min.js:1:1885) at format (http://192.168.1.222:15672/js/main.js:1156:21) at http://192.168.1.222:15672/js/main.js:461:24 at with_reqs (http://192.168.1.222:15672/js/main.js:1138:9) at http://192.168.1.222:15672/js/main.js:1134:17 at req.onreadystatechange (http://192.168.1.222:15672/js/main.js:1215:17)

@lukebakken lukebakken self-assigned this Feb 1, 2023
@lukebakken
Copy link
Collaborator

I can reproduce this issue, and PR #6990 introduced it.

MarcialRosales added a commit that referenced this issue Feb 1, 2023
The issue is that users retrieved with
the intention to list in the limits view
are not paged hence they are not wrapped
around a paging struct where users would be
under items attribute.

Pending selenium tests
@lukebakken lukebakken mentioned this issue Feb 1, 2023
6 tasks
michaelklishin added a commit that referenced this issue Feb 2, 2023
mergify bot pushed a commit that referenced this issue Feb 2, 2023
The issue is that users retrieved with
the intention to list in the limits view
are not paged hence they are not wrapped
around a paging struct where users would be
under items attribute.

Pending selenium tests

(cherry picked from commit 3fca42e)
michaelklishin added a commit that referenced this issue Feb 2, 2023
@michaelklishin michaelklishin added this to the 3.11.9 milestone Feb 2, 2023
mergify bot pushed a commit that referenced this issue Mar 21, 2023
The issue is that users retrieved with
the intention to list in the limits view
are not paged hence they are not wrapped
around a paging struct where users would be
under items attribute.

Pending selenium tests

(cherry picked from commit 3fca42e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants