You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
Caused by: java.lang.IllegalArgumentException: Seller id must be non null
at org.apache.commons.lang3.Validate.isTrue(Validate.java:158) ~[commons-lang3-3.8.jar:3.8]
at ru.mystamps.web.feature.series.sale.SeriesSalesServiceImpl.add(SeriesSalesServiceImpl.java:40) ~[classes/:na]
...
The text was updated successfully, but these errors were encountered:
php-coder
changed the title
Series import: IllegalArgumentException when only price with currency were extracted
Series import: IllegalArgumentException when only price and currency were extracted
Jan 15, 2020
It seems like this happens because 1) seller-related fields weren't shown while they should (#1232) and 2) we don't have validation here that prevents this on controller-level (#859)
After fixing #1232 it's hard or nearly impossible to reproduce this issue: the fields for name/url are shown on the page and after form submission they have empty values. Because of that, a participant is created (yes, with empty name, url) and hence sellerId isn't null now.
But after fixing #851 and #854 it should become reproducible again.
But after fixing #851 and #854 it should become reproducible again.
The exception is different this time:
Caused by: java.lang.IllegalArgumentException: Name must be non null
at org.apache.commons.lang3.Validate.isTrue(Validate.java:158) ~[commons-lang3-3.8.jar:3.8]
at ru.mystamps.web.feature.participant.ParticipantServiceImpl.add(ParticipantServiceImpl.java:42) ~[classes/:na]
Series import fails when only price/currency were extracted.
Log:
Exception:
The text was updated successfully, but these errors were encountered: