You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampark.apache.org by GitBox <gi...@apache.org> on 2022/09/17 18:05:34 UTC

[GitHub] [incubator-streampark] 1996fanrui opened a new issue, #1634: [Bug] The help is wrong when submit user/role

1996fanrui opened a new issue, #1634:
URL: https://github.com/apache/incubator-streampark/issues/1634

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/streampark/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### What happened
   
   The help should be `抱歉,该用户名已存在`, but the help is `用户名不能为空`.
   
   ![image](https://user-images.githubusercontent.com/38427477/190870318-4ab9ecfa-08b4-44ff-8232-783d2ec655ba.png)
   
   The help should be `抱歉,该角色名称已存在`, but the help is `角色名称不能为空`.
   
   ![image](https://user-images.githubusercontent.com/38427477/190870399-2fa4b1c1-c655-43e2-b451-7518f5f841ca.png)
   
   
   
   Root cause:
   
   When click the submit and `this.validateStatus !== 'success'`, it call the `handleRoleNameBlur()` and without any args. So the help is changed to the `角色名称不能为空`.
   
   Solution: we shouldn't call the `handleRoleNameBlur()` when click the submit and `this.validateStatus !== 'success'`, it has been updated before.
   
   
   ![image](https://user-images.githubusercontent.com/38427477/190870467-ae537d1e-ef11-4fee-945f-7f0c7ba8c8db.png)
   
   
   ![image](https://user-images.githubusercontent.com/38427477/190870471-8da00dd7-6d24-4568-a366-ddd1c32fb288.png)
   
   
   ### StreamPark Version
   
   The latest dev branch
   
   ### Java Version
   
   _No response_
   
   ### Flink Version
   
   all
   
   ### Scala Version of Flink
   
   all
   
   ### Error Exception
   
   ```log
   *
   ```
   
   
   ### Screenshots
   
   _No response_
   
   ### 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: issues-unsubscribe@streampark.apache.org.apache.org

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


[GitHub] [incubator-streampark] wolfboys closed issue #1634: [Bug] The help is wrong when submit user/role

Posted by GitBox <gi...@apache.org>.
wolfboys closed issue #1634: [Bug] The help is wrong when submit user/role
URL: https://github.com/apache/incubator-streampark/issues/1634


-- 
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: issues-unsubscribe@streampark.apache.org

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