Skip to content

jsonPathExpression attribute on Param breaks when set via property #9768

@MLenterman

Description

@MLenterman

Current Behavior

Trying get the 'preferred_username' from a json object(ClaimSet from ApiListener with JWT authMethod). It works fine when simply hardcoding the jsonPath as usual like jsonPathExpression="$.preferred_username". However when the exact same jsonPath is provided via a property like jsonPathExpression="${application.kikInzageProxy.auditLogging.userJwtClaim}", it throws the error:

org.frankframework.core.ParameterException: Cannot evaluate JSonPathExpression on parameter value: (PathNotFoundException) No results for path: $['prefered_username']

Looking at how the error, I suspect the property is not actually getting resolved at all and the { } of the property syntax is being interpreted as jsonPath array syntax [ ].

Expected Behavior

Provide jsonPathExpression value via property

Environment Information

FF! 9.3.0-20251004.042332: Kik-Inzage-Api 1.2.0
Running on cece4e969695 using Apache Tomcat/10.1.46
Java Version: OpenJDK Runtime Environment (21.0.8+9-LTS)
Heap size: 211.8 MiB, total JVM memory: 310.0 MiB
Free memory: 98.2 MiB, max memory: 3.8 GiB
Free disk space: 974.7 GiB, total disk space: 1006.9 GiB
Up since: 2025-10-14 17:09:20 (14m), timezone: Europe/Amsterdam

Steps To Reproduce

No response

Configuration

Input

No response

What database are you using?

No response

What browsers are you seeing the problem on?

No response

Relevant Log Output

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions