Metadata
- Source
- FLUID-5130
- Type
- Bug
- Priority
- Critical
- Status
- Closed
- Resolution
- Fixed
- Assignee
- N/A
- Reporter
- Kasper Galschiot Markus
- Created
2013-09-10T08:36:41.311-0400 - Updated
2015-06-15T14:06:46.325-0400 - Versions
- N/A
- Fixed Versions
- N/A
- Component
-
- Model Transformation System
Description
Currently StandardInputTransformations still attempt to run despite getting "undefined" as input value, instead it should result in 'undefined'.
Same for binaryOp. This requires valid values for each of the input variables, so in case one of the inputs is invalid (undefined), the transformation result should be undefined.
Comments
-
Antranig Basman commented
2014-03-24T15:23:34.508-0400 I see the following code in current ModelTransformation.js line 254 which suggests this issue is resolved. Kasper, could you please review and close if you believe this is no longer an issue
//if the function has no input, the result is considered undefined, and this is returned
if (expanded === undefined) {
return undefined;
} -
Justin Obara commented
2015-06-15T10:43:08.167-0400 @@Kasper Galschiot Markus Could you see if this issue has been resolved. See above comment from @@Antranig Basman
-
Kasper Galschiot Markus commented
2015-06-15T12:39:29.183-0400 This issue has been resolved in general in the commits:
https://github.com/fluid-project/infusion/commit/d5d87014a4cb4b0162e47686153083a533eebc29
and
https://github.com/fluid-project/infusion/commit/485173aeab137033c325ea924ff09b885a8526ee