Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: "Default Value" in parameters not working in different contexts #31

Open
marcofra opened this issue Jan 9, 2025 · 3 comments
Open

Comments

@marcofra
Copy link
Collaborator

marcofra commented Jan 9, 2025

The default value set in parameters is not picked up when passing it to value:
image
And when using it in queries:
image

@marcofra marcofra changed the title Bug: Value not picking up the "Default Value" in parameters Bug: "Default Value" in parameters not working in different contexts Jan 9, 2025
@sabberworm
Copy link
Collaborator

Weird, I thought I had tested this. What does the POST body look like?

@marcofra
Copy link
Collaborator Author

Weird, I thought I had tested this. What does the POST body look like?

{"logLevel":"info","hops":[{"type":"nodeQuery","query":"SELECT * FROM [nt:unstructured] AS s WHERE ISDESCENDANTNODE([/content/swisscom/de])","queryType":"JCR-SQL2","hops":[{"type":"setProperty","conflict":"force","propertyName":"${args.propertyName}","value":"args.propertyValue"}]}],"parameters":[{"name":"propertyName","defaultValue":"pName","type":"text","evaluation":"STRING"},{"name":"propertyValue","defaultValue":"pValue","type":"text","evaluation":"STRING"}]}

@sabberworm
Copy link
Collaborator

I meant the request, not the response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants