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

   ### 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/210070545-b4c9c5ab-2279-47f8-9b6e-823b40c42775.png)
   
![image](https://user-images.githubusercontent.com/2921251/210070558-bba00835-3b7a-4a52-96e3-b7562d40db3a.png)
   
   When we try to rename a project, it created a new project but not only 
rename it.
   And when we try to visit the old one, it will always load.
   
   
![image](https://user-images.githubusercontent.com/2921251/210070691-e849bbda-084e-4ac7-8764-a5b586acf5ef.png)
   
   and see the code, it is because we use the update and the project name was 
the primary key.
   
   ### What do you expect to happen
   
   rename project only changed the project name but did not create a new one.
   
   ### How to reproduce
   
   rename the project.
   
   ### 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