Skip to content

Commit a16cc30

Browse files
committed
test(series/sales/import/validation.robot): fix "Import a series sale with empty required field" test.
Allow to user to submit an empty field in order to be able to validate server-side validation. Part of #1072
1 parent f224e94 commit a16cc30

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/main/frontend/src/components/SeriesSaleImportForm.js

-4
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ class SeriesSaleImportForm extends React.Component {
2828
handleSubmit(event) {
2929
event.preventDefault();
3030

31-
if (this.state.url == '') {
32-
return;
33-
}
34-
3531
// @todo #1057 SeriesSaleImportForm: wait until setState() finishes
3632
// (see https://reactjs.org/docs/react-component.html#setstate)
3733
this.setState({

src/main/java/ru/mystamps/web/feature/site/ResourceUrl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public final class ResourceUrl {
3232
public static final String STATIC_RESOURCES_URL = "https://stamps.filezz.ru";
3333

3434
// MUST be updated when any of our resources were modified
35-
public static final String RESOURCES_VERSION = "v0.4.2.3";
35+
public static final String RESOURCES_VERSION = "v0.4.2.4";
3636

3737
// CheckStyle: ignore LineLength for next 10 lines
3838
private static final String CATALOG_UTILS_JS = "/public/js/" + RESOURCES_VERSION + "/CatalogUtils.min.js";

0 commit comments

Comments
 (0)