Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-14272

Adding empty custom config in realtime pipeline ends up being unusable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0
    • Component/s: UI
    • Labels:
      None
    • Sprint:
      5.1 09/18, 5.1 09/25
    • Rank:
      1|hzy0rc:0irr007x400013e

      Description

      • Go to pipeline studio
      • Create a data streams pipeline
      • Open configure pipeline modeless and switch to engine config
      • Open custom config add empty key value pairs 
      • Delete a key value pair row

      After the last step all the key value pairs are 

      lib-0cbd692567.js:87125 Uncaught TypeError: Cannot read property 'key' of undefined
          at Function.mapStateToFieldNameProps [as mapToProps] (index.js:74)
          at mapToPropsProxy (VM9406 wrapMapToProps.js:48)
          at handleNewState (VM9410 selectorFactory.js:57)
          at handleSubsequentCalls (VM9410 selectorFactory.js:74)
          at pureFinalPropsSelector (VM9410 selectorFactory.js:79)
          at Object.runComponentSelector (VM9384 connectAdvanced.js:36)
          at Connect.onStateChange (VM9384 connectAdvanced.js:209)
          at Object.dispatch (VM9392 createStore.js:178)
          at Object.dispatch (<anonymous>:1:38223)
          at dispatch (<anonymous>:1:28684)

       

      This makes the custom config unusable

       

        Attachments

          Activity

            People

            • Assignee:
              tbach Tony Bach
              Reporter:
              ajai Ajai Narayan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: