1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/plugins
Ken Dreyer b29af922eb
jira: cast error messages to strings (#707)
Sometimes Jira returns dicts as "errors" instead of simple strings.
For example, when a user specifies a field that cannot be set, Jira
returns a dict with the field name as a key and the error message as the
value.

In the rare case that we have both a "errorMessages" list and an
"errors" dict, when we combine those values later with join(), Python
raises a TypeError.

Transform each individual error message into a string, and then join()
the list of strings.
2020-07-29 23:38:51 +02:00
..
become Fix more become plugins (#708) 2020-07-29 20:27:16 +02:00
cache Clean up deprecations (#504) 2020-06-16 13:15:19 +02:00
callback modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00
connection Point to correct location in kubernetes plugin import (#577) 2020-06-25 08:15:36 +02:00
doc_fragments modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00
filter modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00
inventory Add cobbler inventory plugin (#627) 2020-07-21 23:37:01 +03:00
lookup modules: fix examples to use FQCN for builtin plugins (#661) 2020-07-16 14:42:12 +03:00
module_utils Fix decoding of response payloads for python 3.5 (#687) 2020-07-24 23:35:33 +02:00
modules jira: cast error messages to strings (#707) 2020-07-29 23:38:51 +02:00