-
Notifications
You must be signed in to change notification settings - Fork 18
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
Bugs - some system fields don't work and concatenate seems broken #956
Comments
Did some more troubleshooting - Looks like concatenation does not work on null values - I guess I can set to empty string and it should fix it?
|
Thank you for reporting. Was pretty busy the last couple of weeks. Hopefully I can look at this |
🎉 This issue has been resolved in version 6.24.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Can you try again with version |
@leifg - Still getting the error, but I had previously worked around it by ensuring the value was an empty string. Initially I was setting the data to this shape below, which produces the error: {
type: 'literal',
dataType: 'null',
value: null,
} I have been using this and it has been working correctly: {
type: 'literal',
dataType,
value: value || '',
options: {
length: value?.length || 0,
},
}; |
Mmh interesting. I currently don’t have a salesforce account to verify what the expected behavior is. Can you try switching the order: Concatenate a string with null? also can you try what happens if you concatenate two null values. Also does it make a difference wether you use the & operator or the + operator? |
@leifg - Just tested again and it looks like it is working. I did upgrade the version again (not sure if that matters), but maybe I tested incorrectly the first time. Looks like both I think we are good here - thanks for the fix! |
This formula reports a syntax error (works in Salesforce)
This formula works to extract fields but when using
&
to concatenate, this breaks if a value is nullIncorrect parameter type for function 'ADD()'. Expected Number, received Null
Here was the data I passed in
The text was updated successfully, but these errors were encountered: