graphql-engine icon indicating copy to clipboard operation
graphql-engine copied to clipboard

[2.11.1] Cannot customize table tracking

Open jflambert opened this issue 3 years ago • 1 comments

Version Information

Server Version: 2.11.1

Environment

OSS

What is the current behaviour?

Hasura crashes when customizing a table tracking operation.

What is the expected behaviour?

should work

How to reproduce the issue?

  1. select a schema with an untracked table
  2. click the gear instead of the tracking button
  3. choose a new custom table name
  4. hasura crashes

Screenshots or Screencast

image

Please provide any traces or logs that could help here.

TypeError: Cannot read properties of undefined (reading 'index') at https://localhost:8443/api/console/assets/versioned/main.js.gz:1:1858709 at Array.map () at https://localhost:8443/api/console/assets/versioned/main.js.gz:1:1858600 at Array.map () at n (https://localhost:8443/api/console/assets/versioned/main.js.gz:1:1858246) at n (https://localhost:8443/api/console/assets/versioned/main.js.gz:1:6463844) at ho (https://localhost:8443/api/console/assets/versioned/vendor.js.gz:1:16035994) at Ql (https://localhost:8443/api/console/assets/versioned/vendor.js.gz:1:16082733) at Il (https://localhost:8443/api/console/assets/versioned/vendor.js.gz:1:16075390) at Rl (https://localhost:8443/api/console/assets/versioned/vendor.js.gz:1:16075315)

jflambert avatar Sep 10 '22 02:09 jflambert

Hi @jflambert , I am unable to reproduce this issue on my side. Is this still an issue for you? Any more information you can share that can be helpful (e.g. screenshot of the customize table form before crashing)?

manasag avatar Sep 21 '22 09:09 manasag

you're right, I haven't had this issue since.

I may have had a permission issue at the time. i.e. trying to track a table owned by 'postgres' but the connection was with a different role.

jflambert avatar Sep 22 '22 02:09 jflambert