hcengineering / hcengineering/platform

Sentry envelope error prevents removing default fields of "Issue" in "Classic project" space type (Tracker)

Open
#9,265 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
27.7k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

Pretty convoluted, but if you go to Settings, Space Types, Classic Project, then Issue under "Task Types", create a new "Process States" and try to delete the default one, a Sentry request fails to `/envelope` and this shows in console

```
DeleteConfirmationPopup.svelte:43 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length')
at S.$$.update (DeleteConfirmationPopup.svelte:43:17)
at new Q (31527.93c6a20….js:31:40907)
at Sr (49245.7f36f3d….js:13:107783)
at new Dr (49245.7f36f3d….js:13:109008)
at Hv (bundle.bd3a6fa3ebbd4…2c0.js:10544:244993)
at new Zv (bundle.bd3a6fa3ebbd4…2c0.js:10544:253284)
at KC (bundle.bd3a6fa3ebbd4…2c0.js:10544:254268)
at Object.p (bundle.bd3a6fa3ebbd4…2c0.js:10544:255543)
```

Also this:

```
fetch.js:46


POST https://o4506745347964928.ingest.sentry.io/api/4506745359695872/envelope/?sentry_version=7&sentry_key=19731177cb434d395dbaa60456da0b6e&sentry_client=sentry.javascript.svelte%2F9.22.0 net::ERR_BLOCKED_BY_CLIENT
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.