PatternAtlas/pattern-atlas-ui

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:

  1. Go to Pattern Cadidates
  2. Click on Add New
  3. Try to add another user as an author
  4. 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

Fixed in ba-meyer-master (see c64b71c)

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)