PatternAtlas/pattern-atlas-ui

Creating pattern links fails

Closed this issue · 1 comments

Describe the bug
When creating a relationship between patterns the UI sends an incomplete request to the API, causing errors.

To Reproduce
Add or Edit pattern A, add relationship to any other pattern

  • if src==A: The request will miss the source pattern
  • if dst==A: The request will miss the destination pattern

Expected behavior
Source and Destination should be set.

Loading patterns from API does not load pattern-id for pattern. This is not a problem for the other actions, but makes creating pattern links fail.