Adding Authors to a Pattern Candidate does not work in while Adding it
lharzenetter opened this issue · 4 comments
Describe the bug
When creating a new Pattern Candidate, adding another author does not work.
To Reproduce
Steps to reproduce the behavior:
- Go to Pattern Cadidates
- Click on Add New
- Try to add another user as an author
- See error
Expected behavior
I can add the user as an author.
Found by: @mar-be
The same applies to a new Issue.
UI attempts PUT on http://localhost:1977/patternatlas/issues/undefined/authors since the issue is not yet created. Will change UI for Issues and Candidate to defer setting autors until the save button is clicked
Partial bug still remaining: Adding authors is deferred until the save button is clicked and they will corretly be added. However the ui still attempts to add them before the candidate is saved causing an error message.
Edit: This only affects pattern candidates (issues work correctly)