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

Templating with task.resolver_username not working correctly #451

Open
rbeuque74 opened this issue Jun 15, 2023 · 1 comment
Open

Templating with task.resolver_username not working correctly #451

rbeuque74 opened this issue Jun 15, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@rbeuque74
Copy link
Member

Describe the bug
Templating with .task.resolver_username not working correctly with templating function.
resolver_username is a *string pointer and giving a pointer to templating function such as toString is returning a pointer value instead of the actual string.

Expected behavior
We should de-reference the pointer here :

v.m[TaskKey] = t

And give a plain string value every time a string pointer is included into the values. As the task is only Golang model that we are including in the values, we should check at all the keys here.

utask version impacted by the bug
All

@rbeuque74 rbeuque74 added the bug Something isn't working label Jun 15, 2023
@rbeuque74
Copy link
Member Author

cc @Alkorin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant