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
When import has failed (because of a seller wasn't specified: #1218), the downloaded file doesn't get removed:
r.m.web.feature.image.ImageServiceImpl : Image info has been saved to database (ImageInfoDto(id=326, type=JPEG))
w.f.i.FilesystemImagePersistenceStrategy : Image data has been written into file /data/uploads/326.jpeg
r.m.web.feature.image.ImageServiceImpl : Series #257: image #326 was added
r.m.w.feature.series.SeriesServiceImpl : Series #257 has been created (AddSeriesDbDto(categoryId=1, countryId=36, quantity=18, perforated=true, michelPrice=null, scottPrice=null, yvertPrice=null, gibbonsPrice=null, solovyovPrice=null, zagorskiPrice=null, releaseDay=null, releaseMonth=null, releaseYear=1995))
org.eclipse.jetty.server.HttpChannel : /series/import/request/49
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalArgumentException: Seller id must be non null
It's not so easy as in order to remove an image we need to have its id and type and we don't have this information within SeriesImportServiceImpl.addSeries() method.
One way is to modify SeriesServiceImpl.add() to not create an image and execute SeriesServiceImpl.addImageToSeries() manually in the end of SeriesImportServiceImpl.addSeries()
When import has failed (because of a seller wasn't specified: #1218), the downloaded file doesn't get removed:
The text was updated successfully, but these errors were encountered: