Metadata
- Source
- FLUID-4727
- Type
- Bug
- Priority
- Major
- Status
- Closed
- Resolution
- Fixed
- Assignee
- Kasper Galschiot Markus
- Reporter
- Colin Clark
- Created
2012-07-06T17:06:33.575-0400 - Updated
2015-06-11T05:36:01.844-0400 - Versions
- N/A
- Fixed Versions
- N/A
- Component
-
- Framework
Description
At the moment, fluid.model.transform.valueMapper() will throw an error if:
1. the specified inputPath resolves to undefined in the source model
2. there is no defaultInputValue specified
In the GPII, we have found that it can legitimately be the case that a path simply isn't available in the source model and there's no relevant default value (or it would be extremely tedious to specify a default value of "undefined" for each rule).
valueMapper() should be modified to simply do nothing in the above case.
Comments
-
Colin Clark commented
2012-07-07T11:47:15.562-0400 Assigned to Antranig for review and push.
-
Kasper Galschiot Markus commented
2014-03-02T18:01:38.402-0500 @@Colin Clark perhaps this one can be closed? http://lists.idrc.ocad.ca/pipermail/commits/2012-July/006484.html
-
Colin Clark commented
2014-03-26T15:14:41.651-0400 Can you verify that this issue has been resolve and close if so, @@Kasper Galschiot Markus?
-
Justin Obara commented
2015-06-10T14:12:36.632-0400 @@Kasper Galschiot Markus and @@Antranig Basman can this be closed?
-
Kasper Galschiot Markus commented
2015-06-11T05:35:43.893-0400 Fixed with commit https://github.com/fluid-project/infusion/commit/c65bedcc1709e101dcc015afcca37f2802feeea0