metafacture / metafacture-core

Core package of the Metafacture tool suite for metadata processing.
https://metafacture.org
Apache License 2.0
70 stars 34 forks source link

JSON-LD keywords in input data break _else pass-through in morph #343

Closed fsteeg closed 3 years ago

fsteeg commented 3 years ago

Somehow data input field names like @id, @graph end up in morph feedback/recursion and are missing in the output. This came up in https://gitlab.com/oersi/oersi-etl/-/issues/29#note_453341447 and I've implemented a fix for metafacture-fix in https://github.com/metafacture/metafacture-fix/commit/f4dc31dbb3a1aae86cfef9811f4f074f1ab87a61. I'll branch off from https://github.com/metafacture/metafacture-core/pull/342 to add a test case for metamorph.

fsteeg commented 3 years ago

Added test case (see https://github.com/metafacture/metafacture-core/commit/4e2398e55bff1ce1250a43a27663ee6ae38b41fa) to reproduce:

git fetch git checkout 343-keywordsElse ./gradlew check