Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invariant Violation: 8 when trying to raise an incident #11828

Open
Gerrit-K opened this issue Nov 11, 2024 · 0 comments
Open

Invariant Violation: 8 when trying to raise an incident #11828

Gerrit-K opened this issue Nov 11, 2024 · 0 comments
Labels
bug Bug report

Comments

@Gerrit-K
Copy link
Contributor

Gerrit-K commented Nov 11, 2024

Describe the bug
When trying to raise a data incident, there's a javascript error in the browser console with the message Invariant Violation: 8. The UI is not updated, but the incident is actually created, which can be seen when the page is reloaded.

To Reproduce
Steps to reproduce the behavior:

  1. Go to some data asset, e.g. a table
  2. Click on 'Incidents'
  3. Click on 'Raise Incident'
  4. Fill in the form and click 'Add'
  5. You'll see a popup 'Failed to raise incident! An unexpected error occurred' and a more detailed error in the browser console:
Invariant Violation: Invariant Violation: 8 (see https://github.com/apollographql/invariant-packages)
    at new t (http://localhost:9002/assets/index-98a3141e.js:67:3362)
    at http://localhost:9002/assets/index-98a3141e.js:99:28292
    at Set.forEach (<anonymous>)
    at e.processSelectionSet (http://localhost:9002/assets/index-98a3141e.js:99:27823)
    at e.processFieldValue (http://localhost:9002/assets/index-98a3141e.js:99:28729)
    at http://localhost:9002/assets/index-98a3141e.js:99:28670
    at Array.map (<anonymous>)
    at e.processFieldValue (http://localhost:9002/assets/index-98a3141e.js:99:28644)
    at http://localhost:9002/assets/index-98a3141e.js:99:28024
    at Set.forEach (<anonymous>)

Expected behavior
Creating incidents should not raise an error.

Desktop (please complete the following information):

  • OS: macOS 14.7
  • Browser chrome 130.0.6723.117
  • DataHub v0.14.1, started via datahub docker quickstart --standalone_consumers --version v0.14.1 and datahub docker ingest-sample-data

Additional context
The gms doesn't seem to log any errors.

@Gerrit-K Gerrit-K added the bug Bug report label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report
Projects
None yet
Development

No branches or pull requests

1 participant