Skip to content

Commit 74c4c78

Browse files
committed
chore: update a backing object name to fix integration tests.
Correction for ab45d0a commit. Regression after #1026
1 parent 8224e7c commit 74c4c78

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/ru/mystamps/web/feature/series/importing/SeriesImportController.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import org.springframework.web.bind.WebDataBinder;
2727
import org.springframework.web.bind.annotation.GetMapping;
2828
import org.springframework.web.bind.annotation.InitBinder;
29+
import org.springframework.web.bind.annotation.ModelAttribute;
2930
import org.springframework.web.bind.annotation.PathVariable;
3031
import org.springframework.web.bind.annotation.PostMapping;
3132
import ru.mystamps.web.common.LocaleUtils;
@@ -78,7 +79,7 @@ public void showRequestImportForm(Model model) {
7879

7980
@PostMapping(SeriesImportUrl.REQUEST_IMPORT_SERIES_PAGE)
8081
public String processRequestImportForm(
81-
@Valid RequestSeriesImportForm form,
82+
@Valid @ModelAttribute("requestImportForm") RequestSeriesImportForm form,
8283
BindingResult result,
8384
@CurrentUser Integer currentUserId) {
8485

0 commit comments

Comments
 (0)