Open rochacbruno opened 7 years ago
This issue exists for Locations as well, and I'm guessing Puppet modules as seen in #363.
@jbnance I found this issue when developing the https://github.com/SatelliteQE/satellite-populate tool.
There I solved by forcing raw_search in some entities https://github.com/SatelliteQE/satellite-populate/blob/master/satellite_populate/constants.py#L12
I'll include Location and PuppetModule there, but also I am thinking in a way to resolve this in nailgun
maybe applying the same logic and forcing raw_searches using the given attibutes to build the search_query,
Thanks for reporting.
@rochacbruno oh my gosh we're developing the same thing at the same time... I wish I would have known about that. I've been writing a "populate-satellite" script that uses JSON instead of YAML. facepalm
@jbnance lets join our efforts in satellite-populate
@jbnance docs on https://satellite-populate.readthedocs.io/en/latest/
Raw search (OK)
ACTUAL RESULT return only a single organization in a list []
Entity attributes based search (not ok)