| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Currently a function with parameter which have parentheses is wrongly parsed. As soon as a closing parentheses is encountered, the parsing logic assumes end state for the function parameter. For example, given `concat(sum(), 10)` then `sum(` is treated as first parameter. This is wrong parsing logic. A parameter should be treated completely parsed only when a `,` or, the last `)` is encountered ( that is groupParen == 0)
|
Test Scenario: Before this change, this would result in the below error. Here the internal concat is not interpreted rightly because of this bug. Arguments to function: 'concat' are not closed properly. com.jayway.jsonpath.InvalidPathException: Arguments to function: 'concat' are not closed properly. |
Sorry, something went wrong.
…t to another function Add test for fixing parsing login when path has a function as argument to another function
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Currently a function with parameter which have parentheses is wrongly parsed. As soon as a closing parentheses is encountered, the parsing logic assumes end state for the function parameter. For example, given concat(sum(), 10) then sum( is treated as first parameter. This is wrong parsing logic.
A parameter should be treated completely parsed only when a , or, the last ) is encountered ( that is groupParen == 0)