-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
[Bug] [API] edit file in resource center and do nothing exit will recive err #15644
Comments
Search before asking
What happenedi open a file in resource center ,and do nothing ,press exit button,then i will recive an error. What you expected to happenthe file `s creater is same as me as a admin,and we have same tenant ,so i have right,there is no reason to get this err How to reproduce1.give user A and user B admin right by change database,t_ds_user table ,user_type coulme. Anything else1.i read the source code and log Versiondev Are you willing to submit PR?
Code of Conduct
|
the version is 3.2.1 |
thx,if your code pass the merge,i will buid it~ |
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs. |
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future. |
Search before asking
What happened
i open a file in resource center ,and do nothing ,press exit button,then i will recive an error.
pay attention,the file is not created by me,but the createror 's tenant is same as me,and we are admin in ds
What you expected to happen
the file `s creater is same as me as a admin,and we have same tenant ,so i have right,there is no reason to get this err
How to reproduce
1.give user A and user B admin right by change database,t_ds_user table ,user_type coulme.
2.give user A and B the same tenant
3.A create a file,and B open it ,do nothing just exit
4.we weill recive a ok msg,and a err msg
Anything else
1.i read the source code and log
2.and i comparison the good request and bad requeest,i find the bug is about fullName
3.the good request is:xxxxxx/dolphinscheduler/resources?fullName=&tenantCode=&type=FILE&searchVal=&pageNo=2&pageSize=10
4.if you do the reproduce step ,you will caughe bad request:xxxxx/dolphinscheduler/resources?fullName=work&tenantCode=&type=FILE&searchVal=&pageNo=1&pageSize=10
5.if u cut the fullName's value in bad request you will get right response
6.i try to debug,but sorry i just can`t,the backed is good i think,probbly is fronted
Version
dev
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: