Closed HolQue closed 3 months ago
Hello Holger,
I have just pushed a small change 38baaad1ccdc to stabi branch to fix the bug mentioned in this ticket
Thank you, Son
Merged to develop branch
Hi Holger, is your retest successful? Thank you, Thomas
Retest successful. Issue can be closed.
Data structure created implicitly:
${testdict.subKey.subKey.paramA} : "DEF",
Some parameters with name of existing keys:
Subkeys referenced by parameter:
This works:
${testdict.subKey.subKey.${keyName_2}} : "GHI"
Outcome:
This causes an error:
${testdict.subKey.${keyName_1}.paramA} : "GHI"
Outcome:
Error: 'Invalid parameter format: ${testdict.subKey.${keyName_1}.paramA}'!
Seems that the proper outcome of parameters inside dot notation expressions depends on the position of the parameter inside the expression.
Crosscheck with not existing key:
"keyName_3" : "IAMNOTEXISTING",
This works like expected:
${testdict.subKey.subKey.${keyName_3}} : "JKL"
Outcome:
Error: 'The implicit creation of data structures based on nested parameter is not supported. ...
But position issue:
${testdict.subKey.${keyName_3}.paramA} : "JKL"
Outcome:
Error: 'Invalid parameter format: ${testdict.subKey.${keyName_3}.paramA}'!
The expected behavior should be clarified. The outcome should be aligned.