ansible/awx

awxkit: name__in filter returns empty when key contains whitespaces even though value is present

Ouverte

#5 219 ouverte le 3 nov. 2019

 (0 commentaire) (0 réaction) (0 personne assignée)Python (3 333 forks)batch import
component:clihelp wantedtype:bug

Métriques du dépôt

Stars
 (13 071 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

ISSUE TYPE
  • Bug Report
SUMMARY

When a key specified in a name__in filter contains whitespace, then nothing is returned even though the key exists.

ENVIRONMENT
  • N/A
STEPS TO REPRODUCE

Example: inv_source.get_related('groups', name__in='foo bar').results will fail even though foo bar is present.

EXPECTED RESULTS
  • Proper value to be returned when name__in key contains whitespace
ACTUAL RESULTS
  • Empty value
ADDITIONAL INFORMATION
  • N/A

Guide contributeur