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

Advanced search - argument 'NoneType' is not iterable #11442

Open
alyssavloera opened this issue Sep 10, 2024 · 1 comment · May be fixed by #11706
Open

Advanced search - argument 'NoneType' is not iterable #11442

alyssavloera opened this issue Sep 10, 2024 · 1 comment · May be fixed by #11706
Labels
Subject: Search Type: Bug Something isn't working

Comments

@alyssavloera
Copy link

When using advanced search parameters "references" or "does not reference" toggling between them (or any of the parameters) leads to an error of: argument 'NoneType' is not iterable.

This is occurring in a Farallon hosted site as well as another instance that is configured and deployed on an entirely different box by a different group.

KnoedlerDevSearch_2024-09-03_13-19-48.mp4

The video demonstrates the issue in realtime.

@chiatt chiatt added this to pipeline Sep 10, 2024
@apeters apeters added the Type: Bug Something isn't working label Sep 12, 2024
@apeters
Copy link
Member

apeters commented Sep 12, 2024

I've verified that this is a bug.
If you cycle the Adv. search from References to Does not Reference and back to References then you'll see the error described above.

You'll also notice that the parameters being sent to the server in the request from the client, go from this, which is correct (notice the first time you select "Refrences" the op key = "")

advanced-search: [{"op":"and","539ae776-3329-11ec-b195-0a9473e82189":{"op":"","val":["09005b37-3df1-3819-8f36-ae1667f4cc9d"]}}]

to this (notice the second time you select "References" the op key = null)

advanced-search: [{"op":"and","539ae776-3329-11ec-b195-0a9473e82189":{"op":null,"val":["09005b37-3df1-3819-8f36-ae1667f4cc9d"]}}]

MikeGriniezakis added a commit to AdvanceServices/arches that referenced this issue Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Subject: Search Type: Bug Something isn't working
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

3 participants