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

Connecting a renamed source node with a transform throws js error

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.0
    • Component/s: UI
    • Labels:
    • Rank:
      1|i00kg7:

      Description

      Steps to reproduce the issue:

      1. Add a source node (say database source)
      2. Add a group-by analytics node
      3. Open the database source and rename the label
      4. Export the pipeline 
      5. Import again the exported pipeline
      6. Connect the database source with the group-by node

      After step 6

      • The new connection is not rendered correctly
      • Throws a js error in console.¬†

      The cause seems to be that the jsplumb still seems to be using the incorrect node name. When we export the pipeline we modify the node names to be unique and export the pipeline. But on reimport and trying to add a connection jsplumb seems to not use the node name.

        Attachments

          Activity

            People

            • Assignee:
              ajai Ajai Narayan
              Reporter:
              ajai Ajai Narayan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: