Commit 88da4454 authored by Daniel Gerhardt's avatar Daniel Gerhardt

Fix unintended recursions in repositories' update methods

parent c2b9e028
......@@ -106,7 +106,7 @@ public class CouchDbContentRepository extends CouchDbCrudRepository<Content> imp
content.setId(oldContent.getId());
content.setRevision(oldContent.getRevision());
content.updateRoundManagementState();
update(content);
super.update(content);
} catch (final UpdateConflictException e) {
logger.error("Could not update content {}.", content, e);
}
......
......@@ -221,7 +221,7 @@ public class CouchDbSessionRepository extends CouchDbCrudRepository<Session> imp
@CachePut(value = "sessions")
public void update(final Session session) {
try {
update(session);
super.update(session);
} catch (final UpdateConflictException e) {
logger.error("Could not update session {}.", session, e);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment