Modified data processor functional param splitting logic #307
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reference issue: #305
When providing parameters to function mapping (ie:
$F{sum:1,2}
), if the parameter includes a : character, the rest of the parameter is cut off from being included in the arguments.In dataProcessor.js line 104, the
FunctionName:param1,param2
string is being split up by the : character for all instances of the character, causing arguments which include a : to be split and not passed to the function when it is filtered out on line 106.I modified the behavior by changing the
refValue.split(':')
on line 104 to use a regex expression to only split by the first instance of the : character like sorefValue.split(/:(.*)/)
so params including the ':' character can be passed to functions