PipedreamHQ / PipedreamHQ/pipedream

[BUG] Source props are cleared when updating source's code in Configuration tab

Open
#9,200 0 comments 0 reactions 0 assignees View on GitHub
bug tracked internally triaged
Dominant language
JavaScript
Stars
11.7k
Forks
5.8k
Avg merge
3d 10h
Merged PRs (30d)
102

Description

**Describe the bug**
I created the source with all props filled, then I updated the source's code in the Configuration tab and clicked Save. After the source code is saved, I see all of the source props are cleared, including the account set.

Please see the video below for more details:
https://drive.google.com/file/d/1r4NSkOnndaY-iGNLqoxAUy3ZKc6wjmwS/view

After the account prop was cleared, I clicked the `Connect The Odds API` button again to connect a new account, but I could not select the Odds API account that I had connected
https://watch.screencastify.com/v/KAwAOQrrf56dBGtDRiNw

**Expected Behavior**
- The account prop should not be cleared after I updated the code.
- We should show a warning that the props are clear after the user updated the props so that users are aware of it
- On the Source Configuration tab, I should be able to select my connected account

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.