PatternAtlas/pattern-atlas-ui

Add Relation Bug

mar-be opened this issue · 1 comments

Describe the bug
I cannot add a relation via the button in the Relation to other Patterns section of a pattern. It produces the following error in the backend:
WARN 13 --- [io-1977-exec-10] .m.m.a.ExceptionHandlerExceptionResolver : Failure in @ExceptionHandler io.github.patternatlas.api.rest.exception.RestResponseExceptionHandler#handleStorageExceptions(Exception, WebRequest) java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.SerializationConfig.hasExplicitTimeZone()

However, the add-relation button in the overview of the pattern language works although it uses the same API method of the backend.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a pattern
  2. Scroll down to the section Relation to other Patterns
  3. Click on the button to add a relation
  4. Fill out the form and try to save it

Expected behavior
The newly added relation gets stored and appears in the section Relation to other Patterns

Fixed with #165 - see also #157