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

caused: user nacos,nacos not exist!; #7750

Closed
shootday opened this issue Feb 10, 2022 · 9 comments
Closed

caused: user nacos,nacos not exist!; #7750

shootday opened this issue Feb 10, 2022 · 9 comments

Comments

@shootday
Copy link

nacos server 1..4.3 update password :caused: user nacos,nacos not exist!;

@shootday
Copy link
Author

shootday commented Feb 11, 2022

image
image

One more comma for parameter

@shootday
Copy link
Author

shootday commented Feb 11, 2022

springmvc string类型的参数 在url后面以及form data里面同时有时会拼接 空值会替换成,

@jerrychern
Copy link

nacos server 1..4.3 update password :caused: user nacos,nacos not exist!;

1.4.2没有这个问题,这是由于PR #5566 导致,这个PR在每一个请求上都加上了 username , 这个username是当前登录用户的username,导致修改用户密码的时候请求携带了两个username,后端处理的时候,收到了一个username的数组,合二为一,两个value用 , 分割了。
建议 @KomachiSion 修复一下。

@SixyuanData
Copy link

我试了一下,第一次1.4.3修改密码请求多了个username,第二次1.4.2一样,第三次1.4.1修改密码成功,切换回1.4.2、1.4.3均修改密码成功。

@hxy91819
Copy link

测试了1.4.2和1.4.0两个版本,均存在这个问题。

image

@HuangZurong
Copy link

nacos server 1..4.3 update password :caused: user nacos,nacos not exist!;

可以临时把http包修改一下手动提交,去掉请求url中的username参数

@hais1992
Copy link

测试了 2.0.4 一样存在这个问题。 。。。。。。。。。。。。,一个半月过去了

@li-sen
Copy link

li-sen commented Apr 11, 2022

1.4.3 2.04 使用默认存储 都是无法改默认密码。。。

jefferson-chern added a commit to jefferson-chern/nacos that referenced this issue Apr 18, 2022
…fix alibaba#7869 and alibaba#7750.

* get user info from session in UserController.
* simply some code in UserController.
KomachiSion pushed a commit that referenced this issue Apr 22, 2022
…fix #7869 and #7750. (#8189)

* get user info from session in UserController.
* simply some code in UserController.
@fengyonghui
Copy link

这个的发布版本在哪里?

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

9 participants