You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "aubertaa (via GitHub)" <gi...@apache.org> on 2023/03/20 14:08:25 UTC

[GitHub] [incubator-devlake] aubertaa opened a new issue, #4716: [Bug][Sonarqube plugin] Error 500 on trying to add too many projects

aubertaa opened a new issue, #4716:
URL: https://github.com/apache/incubator-devlake/issues/4716

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   I checked many projects to add to data scope from sonarqube. (around 150 projects corresponding to different technical components). Then clicking on 'save' button, nothing happens.
   the network panel show this error : 
   
   "error on saving SonarqubeProject\nWraps: (2) Error 1406: Data too long for column 'project_key' at row 23\nWraps: (3) Error 1406: Data too long for column 'project_key' at row 23\nError types: (1) *hintdetail.withDetail (2) *hintdetail.withDetail (3) *mysql.MySQLError"
   
   Would it possible to allow inserting more projects ? and/or inform the user about the limitation instead of throwing a 500.
   Regards,
   
   ### What do you expect to happen
   
   insert in database should be successful.
   
   ### How to reproduce
   
   - add sonarqube connection
   - try to add a lot of projects in data scope
   - click on 'save'
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   main
   
   ### Are you willing to submit PR?
   
   - [ ] 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@devlake.apache.org.apache.org

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


[GitHub] [incubator-devlake] aubertaa commented on issue #4716: [Bug][Sonarqube plugin] Error 500 on trying to add too many projects

Posted by "aubertaa (via GitHub)" <gi...@apache.org>.
aubertaa commented on issue #4716:
URL: https://github.com/apache/incubator-devlake/issues/4716#issuecomment-1476521828

   I checked and max length i have as a prokect key in sonarqube is indeed 77. The key is not a guid, it could be anything.
   Here is what is allowed in sonarquber server :
   
   `Up to 400 characters. Allowed characters are alphanumeric, '-' (dash), '_' (underscore), '.' (period) and ':' (colon), with at least one non-digit.`
   
   


-- 
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@devlake.apache.org

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


[GitHub] [incubator-devlake] likyh commented on issue #4716: [Bug][Sonarqube plugin] Error 500 on trying to add too many projects

Posted by "likyh (via GitHub)" <gi...@apache.org>.
likyh commented on issue #4716:
URL: https://github.com/apache/incubator-devlake/issues/4716#issuecomment-1477227305

   @aubertaa Which version does your Sonar is? 8.X?


-- 
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@devlake.apache.org

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


[GitHub] [incubator-devlake] aubertaa commented on issue #4716: [Bug][Sonarqube plugin] Error 500 on trying to add too many projects

Posted by "aubertaa (via GitHub)" <gi...@apache.org>.
aubertaa commented on issue #4716:
URL: https://github.com/apache/incubator-devlake/issues/4716#issuecomment-1477396482

   i'm indeed in Version 8.9.2 (build 46101), planning to update to last LTS 9 soon.
   Thanks


-- 
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@devlake.apache.org

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


[GitHub] [incubator-devlake] likyh commented on issue #4716: [Bug][Sonarqube plugin] Error 500 on trying to add too many projects

Posted by "likyh (via GitHub)" <gi...@apache.org>.
likyh commented on issue #4716:
URL: https://github.com/apache/incubator-devlake/issues/4716#issuecomment-1476431926

   It seems like there is a project with `ProjectKey` longer than 64. But I think `ProjectKey` is a uuid like `cedc509c-0000-1111-2222-33335cdf0c22`. Would you like to confirm what happened in the 23rd Project you choosed?
   ![image](https://user-images.githubusercontent.com/3294100/226386688-3c19bcf8-b7c4-4510-9242-97f38a620fd0.png)
   


-- 
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@devlake.apache.org

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


[GitHub] [incubator-devlake] mindlesscloud closed issue #4716: [Bug][Sonarqube plugin] Error 500 on trying to add too many projects

Posted by "mindlesscloud (via GitHub)" <gi...@apache.org>.
mindlesscloud closed issue #4716: [Bug][Sonarqube plugin] Error 500 on trying to add too many projects
URL: https://github.com/apache/incubator-devlake/issues/4716


-- 
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@devlake.apache.org

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