hashicorp / hashicorp/consul

Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'n.target.name')

Open
#8,238 1 comment 0 reactions 0 assignees View on GitHub
theme/ui
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
1d 18h
Merged PRs (30d)
39

Description

Consul v1.8.0
create policy or edit policy, There is a problem:

In consul-ui.xxxxxxxxxxx.js at line#3849,
issue:
Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'n.target.name')

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the error while creating or editing a Consul policy, then inspect consul-ui.xxxxxxxxxxx.js around line 3849 and trace the undefined n.target value. Confirm the fix by completing both policy flows without an unhandled Promise rejection.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authorization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.