Removing user leads to validation exception
resamsel opened this issue · 0 comments
resamsel commented
- What version of Translatr are you using?
v3.1.0-SNAPSHOT - What did you do?
Delete user with API - What did you expect to see?
200 OK response - What did you see instead?
javax.validation.ValidationException: Error[ERROR: insert or update on table "log_entry" violates foreign key constraint "fk_log_entry_user_id" Detail: Key (user_id)=(22c957ea-ae52-4f93-98d0-3e50c98a7c39) is not present in table "user_".]
at repositories.impl.AbstractModelRepository.create(AbstractModelRepository.java:107)
at actors.ActivityActor.lambda$createReceive$0(ActivityActor.java:37)
at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:24)
at akka.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:20)
at scala.PartialFunction.applyOrElse(PartialFunction.scala:187)
at scala.PartialFunction.applyOrElse$(PartialFunction.scala:186)
at akka.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:20)
at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:241)
at akka.actor.Actor.aroundReceive(Actor.scala:535)
at akka.actor.Actor.aroundReceive$(Actor.scala:533)