Skip to content

Series import: IllegalArgumentException when only price and currency were extracted #1218

Open
@php-coder

Description

@php-coder

Series import fails when only price/currency were extracted.

Log:

2020-01-15 22:30:34.676 [user:1 ] INFO 61320 --- [qtp307894016-20] r.m.w.f.s.i.SeriesImportServiceImpl : Request # 1: page were parsed (AddSeriesParsedDataDbDto(...), SeriesSalesParsedDataDbDto(sellerId=null, sellerGroupId=null, sellerName=null, sellerUrl=null, price=660.00, currency=RUB))

Exception:

...
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]
...

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions