GDSN e2open import processor appears to fail to continue processing other files after an error is encountered.
Summary
The e2open import job fails to process additional GDSN files if an earlier file encounters an error while processing.
Steps to reproduce
- Place a good gdsn file in
pim/src/PcmtCoreBundle/Resources/E2OpenImport/work
. - Duplicate it, give it a filename that's before the first, and mangle it. (alternatively see sample files below)
- Run
bin/console pcmt:e2Open:import_from_files
What is the current bug behavior?
- The error in the duplicated file stops the processor from working on the good file.
- Also the
failed
,work
, anddone
directories as mentioned in #214 (closed) (#214 (comment 271784120)) don't exist
What is the expected correct behavior?
- That a failure moves the failed file into
failed
. - That the import continues to the next good file.
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Sample files: e2open.tar.gz
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)
Edited by Piotr Borek