You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you try to switch projects, you get an error when a manual contributor is assigned to the project. This happens, because the updateProjectLead method is called, when the project is switched. It tries to use the universityId of the contributor, but its null since he/she was added manually. See line 300 in DMPService. Add a null check, to prevent this from happening
Is this a regression?
No.
Steps to Reproduce
Add a manual project.
Add a manual contributor.
Delete the project, save.
Add another project and try to save.
Expected behavior
Switching projects should be no issue.
Environment
Damap version 4.3.1
The text was updated successfully, but these errors were encountered:
ValentinFutterer
changed the title
Its is ompossible to switch projects when a manual contributor was added
Its is impossible to switch projects when a manual contributor was added
Dec 16, 2024
Describe the bug
If you try to switch projects, you get an error when a manual contributor is assigned to the project. This happens, because the
updateProjectLead
method is called, when the project is switched. It tries to use the universityId of the contributor, but its null since he/she was added manually. See line 300 in DMPService. Add a null check, to prevent this from happeningIs this a regression?
No.
Steps to Reproduce
Add a manual project.
Add a manual contributor.
Delete the project, save.
Add another project and try to save.
Expected behavior
Switching projects should be no issue.
Environment
The text was updated successfully, but these errors were encountered: