metafacture / metafacture-fix

Work in progress towards an implementation of the Fix language for Metafacture
Apache License 2.0
6 stars 2 forks source link

`uniq` mixes arrays when used with asterisk #261

Open TobiasNx opened 2 years ago

TobiasNx commented 2 years ago

e.g. uniq("publication[].*.location[]") or uniq("publication[].*.publishedBy[]") Instead of only uniqing a single array it mixes the different arrays and outputs uniq versions of the mixed arrays. See: https://github.com/hbz/lobid-resources/pull/1463/files

TobiasNx commented 2 years ago

https://github.com/metafacture/metafacture-fix/pull/262 I introduced an integrationtest for this bug.

blackwinter commented 1 year ago

Integration test: