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

   ### 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
   
   
![image](https://user-images.githubusercontent.com/2921251/205861109-7e5d6119-418f-4c0d-a0b6-e3557df8add9.png)
   `Duplicate` returned from the database is the first letter capitalized used.
   But in the judgment of the code, as shown below, we use lowercase for 
judgment.
   
![image](https://user-images.githubusercontent.com/2921251/205861911-e6611f76-d8c7-42f1-a92e-2e262c4536d2.png)
   
![image](https://user-images.githubusercontent.com/2921251/205861666-39869eea-dce9-409f-a1a1-6a7d69a39aad.png)
   This leads to invalid judgments.
   
   ### What do you expect to happen
   
   Correct judgment `Duplicate`
   
   ### How to reproduce
   
   post project with the name already exist
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   main
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to