Details
-
Bug
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Won't Do
-
None
-
None
-
-
0
-
Folijet
Description
Overview: EDIFACT file without a file extension errors during import. A MARC file without a file extension does not error during import.
Current workaround: add file extension .edi to the file before importing
Steps to Reproduce:
- Log into Folijet Rancher environment
- Go to Data Import
- Import each of the attached files
- First the MARC file with .mrc file extension, using the the Default - Create instance and SRS MARC Bib job profile
- Second the MARC file without a file extension, using the Default - Create instance and SRS MARC Bib job profile
- Third the EDI file with a .edi file extension, using the Load Harrassowitz Serial invoices NO adjustments job profile
- Fourth the EDI file without a file extension, using the Load Harrassowitz Serial invoices NO adjustments job profile
Expected Results:
- Import 1: Only the MARC job profiles show on the choose job screen, and the file imports successfully
- Import 2: All the MARC and EDIFACT job profiles show on the choose job screen, and the file imports successfully
- Import 3: Only the EDIFACT job profiles show on the choose job screen, and the file imports successfully
- Import 4: All the MARC and EDIFACT job profiles show on the choose job screen, and the file imports successfully
Actual Results:
- Imports 1-3 are successfult
- Import 4 (EDI file without a file extension) fails
Additional Information: See attached files. See also UIDATIMP-118 for the file extension behavior
Log info for no file extension: (for EDIFACT files; MARC files are OK)
SEVERE: Unhandled exception
java.lang.UnsupportedOperationException: Unsupported file format
at org.folio.service.processing.reader.SourceReaderBuilder.lambda$0(SourceReaderBuilder.java:43)
at java.base/java.util.Optional.orElseThrow(Optional.java:408)
at org.folio.service.processing.reader.SourceReaderBuilder.build(SourceReaderBuilder.java:43)
at org.folio.service.processing.ParallelFileChunkingProcessor.processFile(ParallelFileChunkingProcessor.java:139)
at org.folio.service.processing.ParallelFileChunkingProcessor.lambda$5(ParallelFileChunkingProcessor.java:105)
at io.vertx.core.impl.AbstractContext.dispatch(AbstractContext.java:96)
at io.vertx.core.impl.AbstractContext.dispatch(AbstractContext.java:59)
at io.vertx.core.impl.EventLoopContext.lambda$runOnContext$0(EventLoopContext.java:40)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:497)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:834)
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-2851 NFR: Data Import (Batch Importer for Bib Acq) & PubSub R2 2021 Juniper Technical, NFR, & Misc bug work
-
- Closed
-