eclipse-sw360 / sw360

SW360 project
https://www.eclipse.org/sw360/
Other
116 stars 96 forks source link

Link project to a project endpoint is giving "Internal Server Error" when the project does not have any linkedProjects to it. #2472

Open akshitjoshii opened 1 month ago

akshitjoshii commented 1 month ago

https://sw360.org/api/projects/1234567/linkProjects is not able to link project to a project when any project passed in the request body array does not have a linked project to it.

Request body : array of project ids as request body. [projId1, projId2 ..]

link_proj_bug