We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0caa76e commit 2531e56Copy full SHA for 2531e56
src/main/java/info/unterrainer/commons/httpserver/GenericHandlerGroup.java
@@ -184,7 +184,7 @@ private void fullUpdate(final Context ctx) throws IOException {
184
DaoTransaction<E> transaction = dao.getTransactionManager().beginTransaction(ctx);
185
P jpa = hu.getJpaById(ctx, transaction.getManager(), dao);
186
try {
187
- P detachedJpa = objectMapper.map(jpaType, jpaType, jpa);
+ P detachedJpa = objectMapper.map(jpaType, jpa);
188
J json = jsonMapper.fromStringTo(jsonType, ctx.attribute(Attribute.REQUEST_BODY));
189
P mappedJpa = objectMapper.map(jpaType, json);
190
mappedJpa.setId(jpa.getId());
0 commit comments