Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Its is impossible to switch projects when a manual contributor was added #305

Open
ValentinFutterer opened this issue Dec 16, 2024 · 0 comments · May be fixed by #312
Open

Its is impossible to switch projects when a manual contributor was added #305

ValentinFutterer opened this issue Dec 16, 2024 · 0 comments · May be fixed by #312
Labels
bug Something isn't working

Comments

@ValentinFutterer
Copy link
Collaborator

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
@ValentinFutterer ValentinFutterer added the bug Something isn't working label Dec 16, 2024
@ValentinFutterer 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
@GeoffreyKarnbach GeoffreyKarnbach self-assigned this Dec 23, 2024
@GeoffreyKarnbach GeoffreyKarnbach removed their assignment Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants