Skip to content

Commit 558e5be

Browse files
committed
fix: mail address handling in GUI after #1793
the referenced PR refactored the data structure. as a consequence, the path of the recipients field changed. therefore, the web UI was displaying all emails in one line with commas in-between instead of one email per line. this is because BatchInsertConverter was applied "recipients" which does not exist anymore. it should be "mailSettings.recipients".
1 parent 64dadf8 commit 558e5be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/de/rwth/idsg/steve/web/GlobalControllerAdvice.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public void binder(WebDataBinder binder) {
5050
binder.registerCustomEditor(ChargePointSelect.class, new ChargePointSelectEditor());
5151

5252
binder.registerCustomEditor(List.class, "idList", batchInsertConverter);
53-
binder.registerCustomEditor(List.class, "recipients", batchInsertConverter);
53+
binder.registerCustomEditor(List.class, "mailSettings.recipients", batchInsertConverter);
5454
}
5555

5656
@ExceptionHandler(Exception.class)

0 commit comments

Comments
 (0)