test-fullautomation / python-jsonpreprocessor

A preprocessor for json files
Apache License 2.0
2 stars 2 forks source link

Unfavorable error message #162

Closed HolQue closed 7 months ago

HolQue commented 8 months ago

The JSON code

"teststring" : "eins",
"teststring" : "${teststring.a.b.c}.zwei"

causes: 'The variable '${teststring__RecursiveInitialValue__1}['a']['b']['c']' is not available!'

Yes, the variable is not available, but internal token strings like "__RecursiveInitialValue__1" should be avoided in error messages.

namsonx commented 8 months ago

Hello Holger,

Thank you for your finding, I will fix it.

Thank you, Son

namsonx commented 7 months ago

Hello Holger,

I pushed new commit 10604ce77d7 to stabi branch to solved this ticket.

Thank you, Son

HolQue commented 7 months ago

Retest successful. Issue can be closed.