metafacture / metafacture-playground

Web application to play around with workflows using Fix and Flux
https://metafacture.org/playground
Apache License 2.0
3 stars 2 forks source link

Broken fix does not return error? #62

Closed TobiasNx closed 1 month ago

TobiasNx commented 2 years ago

See here

There is an """ in front of the comment. The record is completly transformed into json but it should treturn an error. This might also be an error of FIX itself.

TobiasNx commented 1 month ago

This seems to be outdated:

https://metafacture.org/playground/?flux=%22https%3A//gitlab.com/oersi/oersi-etl/-/raw/metafix/data/experimental/duepub-metafacture.xml%22%0A%7C+open-http%0A%7C+decode-xml%0A%7C+handle-generic-xml%28emitNamespace%3D%22true%22%29%0A%7C+fix%28transformationFile%29%0A%7C+encode-json%28prettyPrinting%3D%22true%22%29%0A%7C+print%0A%3B&transformation=if+any_equal+%28%22header.status%22%2C+%22deleted%22%29%0A++++reject%28%29%0Aend%0A%0A%0A%60/%2A+TODO%3A+learningResourceType+%2A/%0A%23+TODO%3A+Needs+lookup+but+array+behaviour+some+not+to+work+here.%0Ado+list%28%22path%22%3A%22metadata.mods%3Amods.mods%3Agenre%22%2C%22var%22%3A%22lRT%22%29%0A++++if+any_match%28%22lRT.authorityURI%22%2C%22https%3A//duepublico.uni-due.de/api/v1/classifications/mir_genres%22%29%0A++++++++copy_field%28%22lRT.valueURI%22%2C%22learningResourceType%5B%5D.%24append.id%22%29+%0A++++++++copy_field%28%22lRT.valueURI%22%2C%22learningResourceType%5B%5D.%24last.prefLabel.de%22%29%0A++++end%0Aend%0A%0Aretain%28%22learningResourceType%5B%5D%22%29