Skip to content

Add handling for JsNull case in Utils.scala to return empty string#1226

Open
CollinBeczak wants to merge 1 commit intomainfrom
Add-handling-for-JsNull-case-in-Utils.scala-to-return-empty-string
Open

Add handling for JsNull case in Utils.scala to return empty string#1226
CollinBeczak wants to merge 1 commit intomainfrom
Add-handling-for-JsNull-case-in-Utils.scala-to-return-empty-string

Conversation

@CollinBeczak
Copy link
Copy Markdown
Contributor

@CollinBeczak CollinBeczak commented Apr 9, 2026

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 9, 2026

@CollinBeczak CollinBeczak requested a review from jake-low April 14, 2026 16:37
Copy link
Copy Markdown
Contributor

@jake-low jake-low left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you provide some more context? This seems like a weird fix for the issue. Utils.getProperties() is called in the Task creation path, so this change affects what gets stored in the database, not just what gets rendered in the frontend.

@CollinBeczak
Copy link
Copy Markdown
Contributor Author

CollinBeczak commented Apr 14, 2026

What i think was happening was when that code block got a null value it would convert it to string value: "null", so i thought that if i just turned it into an empty string that would be fine for now. I suppose i can experiment with having it have a null value and see how the database and frontend handles it, and then make fixes if there are any issues.

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

Successfully merging this pull request may close these issues.

Mustache tags null values are returning "null" strings again

2 participants