influxdata / influxdata/ui

bug: telegraf configuration "listen for data" button submitting undefined org

Open
#6,702 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/bug team/ui
Dominant language
TypeScript
Stars
117
Forks
51
Avg merge
2d 15h
Merged PRs (30d)
4

Description

Hitting the "listen for data" button on the "create a telegraf configuration" overlay in Cloud2 to test a telegraf connection can query an 'undefined' org, rather than the user's actual org id.

Cause appears to be that the redux state that identifies the user's bucket and org is not being populated into Redux.
![Screen Shot 2023-05-26 at 9 39 53 AM](https://github.com/influxdata/ui/assets/91283923/382cd4b0-6dae-48a7-9224-fd68a61d63b5)
![Screen Shot 2023-05-26 at 9 39 58 AM](https://github.com/influxdata/ui/assets/91283923/f5bc43a0-1af5-4dff-a3a5-9918edc206e6)

![Screen Shot 2023-05-26 at 9 42 49 AM](https://github.com/influxdata/ui/assets/91283923/1afb1b75-b4e9-4817-92de-bcd18baebc9a)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Cloud2 "create a telegraf configuration" overlay and trace the "listen for data" button into the Redux state for the user's bucket and organization. Verify the request does not use an undefined organization and confirm it queries the user's actual organization when testing a Telegraf connection.

Written by the indexing model from the issue text.

Assessment

Tech stack
redux, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.