Skip to content

Commit

Permalink
Use all fields from input entity to merge with updates.
Browse files Browse the repository at this point in the history
Fixes #1988
  • Loading branch information
dennisoelkers committed Mar 29, 2016
1 parent ad47def commit b612c97
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -176,7 +176,7 @@ public Response update(@ApiParam(name = "JSON body", required = true) @Valid @No

final Input input = inputService.find(inputId);

final Map<String, Object> mergedInput = inputService.getMessageInput(input).asMap();
final Map<String, Object> mergedInput = input.getFields();
final MessageInput messageInput = messageInputFactory.create(lr, getCurrentUser().getName(), lr.node());

messageInput.checkConfiguration();
Expand Down

1 comment on commit b612c97

@bernd
Copy link
Member

@bernd bernd commented on b612c97 Mar 30, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also fixes #1923

Please sign in to comment.