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

Wrong version number returned from api/info #23464

Closed
pbakadm opened this issue Oct 15, 2021 · 2 comments
Closed

Wrong version number returned from api/info #23464

pbakadm opened this issue Oct 15, 2021 · 2 comments

Comments

@pbakadm
Copy link

pbakadm commented Oct 15, 2021

Description:

Hi! I noticed that on endpoint api/info after update to 4.0.1/4.0.2, answer from that endpoint is always: {"version":"4.0","success":true}

Steps to reproduce:

  1. /api/info
    {"version":"4.0","success":true}

Expected behavior:

Expected is that correct version is returned

Actual behavior:

It's returning: {"version":"4.0","success":true} in all 4.0.0/4.0.1/4.0.2

Server Setup Information:

  • Version of Rocket.Chat Server: 4.0.2
  • Operating System: Debian 11
  • Deployment Method: tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog: no idea :P
  • NodeJS Version: 12.22.1
  • MongoDB Version: 5.0.3
@ankar84
Copy link

ankar84 commented Oct 15, 2021

probably related to #16050 and #23162

@debdutdeb
Copy link
Member

Hi.

As pointed to by Anton, non-authenticated calls to info will not show the patch version but only the major-minor.

Closing since not a big.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants