You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/05/30 07:41:06 UTC

[GitHub] [dolphinscheduler] EricGao888 opened a new issue, #10293: [Bug] [Api-Server] Improve exception handling when admin user uploads file in resource center

EricGao888 opened a new issue, #10293:
URL: https://github.com/apache/dolphinscheduler/issues/10293

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   * If user logs in with admin role and does not set tenant, there will be `null pointer exception` when he / she tries to upload files in `resource center`.
   
   ![image](https://user-images.githubusercontent.com/34905992/170941904-0838298f-c29f-4364-ac11-4be4b1980097.png)
   
   
   ### What you expected to happen
   
   * We need some exception handling here and provide users with instructive error message: https://github.com/apache/dolphinscheduler/blob/8d26d4fe72aa81437103716b22f52ef6dc515a14/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java#L653-L656
   
   * We need to remind users that tenant should be set before playing with `resource center` if they log in with `admin` role.
   
   ### How to reproduce
   
   * Already described above.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   dev
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #10293: [Bug] [Api-Server] Improve exception handling when admin user uploads file in resource center

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #10293:
URL: https://github.com/apache/dolphinscheduler/issues/10293#issuecomment-1140812833

   Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
   * In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
   * If you haven't received a reply for a long time, you can [join our slack](https://join.slack.com/t/asf-dolphinscheduler/shared_invite/zt-omtdhuio-_JISsxYhiVsltmC5h38yfw) and send your question to channel `#troubleshooting`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] zhuangchong closed issue #10293: [Bug] [Api-Server] Improve exception handling when admin user uploads file in resource center

Posted by GitBox <gi...@apache.org>.
zhuangchong closed issue #10293: [Bug] [Api-Server] Improve exception handling when admin user uploads file in resource center
URL: https://github.com/apache/dolphinscheduler/issues/10293


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [dolphinscheduler] zhongjiajie commented on issue #10293: [Bug] [Api-Server] Improve exception handling when admin user uploads file in resource center

Posted by GitBox <gi...@apache.org>.
zhongjiajie commented on issue #10293:
URL: https://github.com/apache/dolphinscheduler/issues/10293#issuecomment-1141611407

   It should be noticed when user execute workflow without assigned tenant too


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org