You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@devlake.apache.org by "xiaomingzhang12 (via GitHub)" <gi...@apache.org> on 2024/03/21 07:04:50 UTC

[I] [Bug] We added a project with a long name, but the /api/blueprints interface is throwing an error. The created project cannot enter the settings page, so we can't delete this project from the UI [incubator-devlake]

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

   ### 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
   
   1. Version where the issue was found: test-v20240314-1@77de98f
   2. Operation steps:
       1. On the Projects page, click on New Project, and enter a very long project name:
   xmt_321aaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeaaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeeeaaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeeeaaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeeeaaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeeeaaa
   Save
       2. The API endpoint api/projects is successful, but the endpoint api/blueprints returns an error. Error details are shown in the attached image.
   ![img_v3_0296_5478eeab-044d-459b-95d5-2a776c88530g](https://github.com/apache/incubator-devlake/assets/142298906/823f1e9a-a18b-4b7e-91f3-bf8eb971c0ef)
   
       3. Clicking on the Settings button on the right side of the project name "xmt_321....." results in an error, as shown in the attached image. 
   ![image](https://github.com/apache/incubator-devlake/assets/142298906/49f0db96-8365-4339-8120-6c846432b7a3)
   
   I want to delete the problematic project that was not created successfully, but I am unable to delete it from the UI.
   
   ### What do you expect to happen
   
   操作步骤:
           1. 在Projects页面,点击New Project,输入一个很长的project name:
   [xmt_321aaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeaaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeeeaaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeeeaaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeeeaaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeeeaaa](https://test.devinsight.ai/config/projects/xmt_321aaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeaaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeeeaaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeeeaaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeeeaaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeeeaaa?tab=configuration)
   保存
     2. 接口api/projects 成功,接口 api/blueprints报错 ,报错详情如图:
     3. 点击 xmt_321..... 这个项目右侧的 设置按钮,报错如图
   我想把不创建有问题的project删除,现在在UI中删不掉
   
   ### How to reproduce
   
   See Above
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   0.21
   
   ### 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: dev-unsubscribe@devlake.apache.org.apache.org

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


Re: [I] [Bug] We added a project with a long name, but the /api/blueprints interface is throwing an error. The created project cannot enter the settings page, so we can't delete this project from the UI [incubator-devlake]

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

   This problem has been solved by limiting the length of the project.


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

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


Re: [I] [Bug] We added a project with a long name, but the /api/blueprints interface is throwing an error. The created project cannot enter the settings page, so we can't delete this project from the UI [incubator-devlake]

Posted by "Startrekzky (via GitHub)" <gi...@apache.org>.
Startrekzky closed issue #7200: [Bug] We added a project with a long name, but the /api/blueprints interface is throwing an error. The created project cannot enter the settings page, so we can't delete this project from the UI
URL: https://github.com/apache/incubator-devlake/issues/7200


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

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