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

[Bug] [API] edit file in resource center and do nothing exit will recive err #15644

Closed
3 tasks done
Anubisxcw opened this issue Feb 27, 2024 · 5 comments · May be fixed by #15647
Closed
3 tasks done

[Bug] [API] edit file in resource center and do nothing exit will recive err #15644

Anubisxcw opened this issue Feb 27, 2024 · 5 comments · May be fixed by #15647
Assignees
Labels
bug Something isn't working first time contributor First-time contributor Stale

Comments

@Anubisxcw
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

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
企业微信截图_5a07b441-0f27-4320-9db3-1340d7c79102

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
企业微信截图_cace0c13-6fdf-40cc-a361-db93d645a0d3

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
image

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@Anubisxcw Anubisxcw added bug Something isn't working Waiting for reply Waiting for reply labels Feb 27, 2024
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

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
企业微信截图_5a07b441-0f27-4320-9db3-1340d7c79102

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
企业微信截图_cace0c13-6fdf-40cc-a361-db93d645a0d3

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
image

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@Anubisxcw
Copy link
Author

the version is 3.2.1

@Anubisxcw
Copy link
Author

thx,if your code pass the merge,i will buid it~

@qingwli qingwli added first time contributor First-time contributor and removed Waiting for reply Waiting for reply labels Feb 28, 2024
Copy link

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.

@github-actions github-actions bot added the Stale label Mar 30, 2024
Copy link

github-actions bot commented Apr 6, 2024

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.

@github-actions github-actions bot closed this as completed Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working first time contributor First-time contributor Stale
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants