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

[Console] Runtime error on Permission tabs  #2506

@thangngoc89

Description

@thangngoc89

Step to reproduce

git clone https://github.com/Sketch-sh/sketch-sh/
git checkout upgrade-everything
cd server
make dev

After that, go to localhost:8080 > Data tab > User table > Permission tab

This error screen will show up (React's Error boundary)

image

This is the request information prior to the error:

Request headers:

Host: localhost:8080
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://localhost:8080/console/data/schema/public/tables/user/permissions
content-type: application/json
x-hasura-admin-secret: hasura
Origin: http://localhost:8080
Content-Length: 108
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache

Response:

[{"message":"success"},{"is_consistent":true,"inconsistent_objects":[]}]

And console.log

TypeError: "i.columns is undefined"

Metadata

Metadata

Assignees

No one assigned

    Labels

    c/consoleRelated to consolek/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions