Skip to content

Fix case where field list contains empty value #30

@horde3d

Description

@horde3d

I'm actually not sure what the root cause is, that in my installation the graph query contains an empty field (might depend on a custom facet based on a regex I've added) but there is an issue in case the query for the visual graph explorer contains a field list with an empty value.

To fix this I would propose to add a one liner to

fields = [x for x in fields if x.strip()]

this would remove all empty fields from the query, so it does not cause an error anymore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions