Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delete option of lookup does not work with arrays and do list-bind #321

Open
TobiasNx opened this issue Aug 1, 2023 · 2 comments
Open
Labels
Bug Something isn't working Metafix

Comments

@TobiasNx
Copy link
Collaborator

TobiasNx commented Aug 1, 2023

I forgot to open a ticket for this I think. Now I had the same problem again.

hbz/lobid-resources@34f8712
https://github.com/hbz/lobid-resources/pull/1850/files

It seems that the delete option is not working if one is trying to lookup in another array while iterating with a do list-Bind.

@TobiasNx TobiasNx added the Bug Something isn't working label Aug 1, 2023
@github-project-automation github-project-automation bot moved this to Backlog in Metafacture Aug 1, 2023
@TobiasNx
Copy link
Collaborator Author

TobiasNx commented Sep 5, 2023

Had another altercation with a problem of the delete option: hbz/lobid-resources@b54b8af

The delete option created an label, that should not be there. If I delete the delete option, the unwanted label is deleted again.

@TobiasNx TobiasNx changed the title delete option of lookup does not work with arrays delete option of lookup does not work with arrays or adds wrong elements Sep 5, 2023
TobiasNx added a commit to hbz/lobid-resources that referenced this issue Sep 5, 2023
@TobiasNx TobiasNx changed the title delete option of lookup does not work with arrays or adds wrong elements delete option of lookup does not work with arrays Sep 5, 2023
TobiasNx added a commit to hbz/lobid-resources that referenced this issue Sep 15, 2023
@TobiasNx
Copy link
Collaborator Author

This also seems to be happening if I use delete in the same array with do list:

do list(path:"@hochschulfaechersystematik","var":"$i")
  lookup("$i","tuDelftSubjects2destatis", delete:"true")
end

@TobiasNx TobiasNx changed the title delete option of lookup does not work with arrays delete option of lookup does not work with arrays and do list-bind Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Metafix
Projects
Status: Backlog
Development

No branches or pull requests

2 participants