这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@iam4x
Copy link

@iam4x iam4x commented Jan 4, 2019

when defining a manual relationship on a table
that has a self referencing array relationship the
console ui was crashing because we were trying to access
the property foreign_key_constraint_on which does not exists
on a manual relationship

Description

What component does this PR affect?

  • Server
  • Console
  • CLI
  • Docs
  • Community Content
  • Build System

Requires changes from other components? If yes, please mark the components:

  • Server
  • Console
  • CLI
  • Docs
  • Community Content
  • Build System

Related Issue

#1278

Solution and Design

Add a check in the condition before accessing an undefined value

Type

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Docs update
  • Community content

Checklist:

  • I have read the contributing guide and my code conforms to the guidelines.
  • This change requires a change in the documentation.
  • I have updated the documentation accordingly.
  • I have added required tests.

@hasura-bot
Copy link
Contributor

Beep boop! 🤖

Hey @iam4x, thanks for your PR!

One of my human friends will review this PR and get back to you as soon as possible. 🕐

Stay awesome! 😎

when defining a manual relationship on a table
that has a self referencing array relationship the
console ui was crashing because we were trying to access
the property `foreign_key_constraint_on` which does not exists
on a muan relationship
@hasura-bot
Copy link
Contributor

Review app for commit 689da73 deployed to Heroku: https://hge-ci-pull-1315.herokuapp.com
Docker image for server: hasura/graphql-engine:pull1315-689da73

@shahidhk shahidhk requested a review from praveenweb January 6, 2019 07:48
@shahidhk shahidhk added the c/console Related to console label Jan 6, 2019
@hasura-bot
Copy link
Contributor

Review app for commit df43797 deployed to Heroku: https://hge-ci-pull-1315.herokuapp.com
Docker image for server: hasura/graphql-engine:pull1315-df43797

@karthikvt26
Copy link
Contributor

@iam4x Thank you for your PR. Unfortunately, it looks like a bunch of issues along with this one has already been fixed with this #1306. Please feel free to pick up another issue from this repo for your next contribution.

@karthikvt26 karthikvt26 closed this Jan 7, 2019
@hasura-bot
Copy link
Contributor

Review app https://hge-ci-pull-1315.herokuapp.com is deleted

hasura-bot pushed a commit that referenced this pull request Nov 5, 2024
<!-- The PR description should answer 2 important questions: -->

### What

<!-- What is this PR trying to accomplish (and why, if it's not
obvious)? -->

<!-- Consider: do we need to add a changelog entry? -->

<!-- Does this PR introduce new validation that might break old builds?
-->

<!-- Consider: do we need to put new checks behind a flag? -->
Fix a bug with pollers are not being stopped when the connection is
dropped.

### How
Fetch all poller operation ids at once from a mutex map and stop each
poller associated with them in a for-loop.
<!-- How is it trying to accomplish it (what are the implementation
steps)? -->

V3_GIT_ORIGIN_REV_ID: f17511d611b92ace3de2c83e606d26214649878b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c/console Related to console

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants