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

Unexpected error: ListViewError: Invalid filter config, id is not present in columns #18210

Closed
3 tasks done
ramesh2744 opened this issue Jan 28, 2022 · 6 comments · Fixed by #19409 or #20171
Closed
3 tasks done
Labels
#bug Bug report lts-v1 preset:cares Preset cares about this issue validation:validated A committer has validated / submitted the issue or it was reported by multiple users

Comments

@ramesh2744
Copy link

ramesh2744 commented Jan 28, 2022

Prevent 'undefined' error when viewing the dashboard (or charts) listview in an anonymous mode.

How to reproduce the bug

Reproduce the error as follows:

Allow anonymous access by setting PUBLIC_ROLE_LIKE = "Gamma"
Without logging in, click on dashboards or charts. This error displays:
Unexpected error:ListViewError: Invalid filter config, id is not present in columns

Expected results

Dashboards/charts must be visible without any issues/errors.

Actual result

This issue observed when we make upgrade from v1.3 to v1.4

Screenshots

image

Environment

(please complete the following information):

  • browser type and version: Chrome Version 97.0.4692.71
  • superset version: 1.4
  • python version: Python 3.7.5
  • node.js version: v8.10.0

Checklist

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context

Browser console log:

ListViewError: Invalid filter config, id is not present in columns
at 87c5db28d6d4ce263182.chunk.js:932:15
at Array.forEach ()
at ListView (87c5db28d6d4ce263182.chunk.js:930:13)
at oh (vendors.866d9853ec9ca701f3b8.entry.js:54972:146)
at Rj (vendors.866d9853ec9ca701f3b8.entry.js:55080:496)
at Qj (vendors.866d9853ec9ca701f3b8.entry.js:55065:199)
at Kj (vendors.866d9853ec9ca701f3b8.entry.js:55065:128)
at yj (vendors.866d9853ec9ca701f3b8.entry.js:55058:172)
at vendors.866d9853ec9ca701f3b8.entry.js:54942:115
at exports.unstable_runWithPriority (vendors.866d9853ec9ca701f3b8.entry.js:55173:467)

image

@ramesh2744 ramesh2744 added the #bug Bug report label Jan 28, 2022
@geido geido added the validation:validated A committer has validated / submitted the issue or it was reported by multiple users label Feb 2, 2022
@geido
Copy link
Member

geido commented Feb 2, 2022

Thanks @ramesh2744 for reporting this issue. We are looking into this problem and we'll keep you posted

@ramesh2744
Copy link
Author

Thank you @geido

@geido geido added the preset:cares Preset cares about this issue label Feb 9, 2022
@zufolo441
Copy link

Hi, same problem here.

villebro pushed a commit that referenced this issue Apr 4, 2022
…8210 (#19409)

* fix: Only show favorite star on dashboard list if user is logged in #18210

* Fix linter errors
@villebro villebro added the lts-v1 label Apr 4, 2022
villebro pushed a commit that referenced this issue Apr 4, 2022
…8210 (#19409)

* fix: Only show favorite star on dashboard list if user is logged in #18210

* Fix linter errors

(cherry picked from commit b8891ac)
@trepmag
Copy link
Contributor

trepmag commented May 23, 2022

This should be reopened since the fix at #19409 applies to dashboards list specifically leaving the charts list unfixed!...

trepmag added a commit to trepmag/superset that referenced this issue Jun 2, 2022
philipher29 pushed a commit to ValtechMobility/superset that referenced this issue Jun 9, 2022
…ache#18210 (apache#19409)

* fix: Only show favorite star on dashboard list if user is logged in apache#18210

* Fix linter errors
philipher29 pushed a commit to ValtechMobility/superset that referenced this issue Jun 9, 2022
@NoorAhmd
Copy link

Any solution for this? I still have this problem

@swanitzek
Copy link

Is this fix included in any release of Apache Superset yet?

witcher-ke pushed a commit to Powerarena-Limited/superset that referenced this issue Dec 27, 2022
…ache#18210 (apache#19409)

* fix: Only show favorite star on dashboard list if user is logged in apache#18210

* Fix linter errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#bug Bug report lts-v1 preset:cares Preset cares about this issue validation:validated A committer has validated / submitted the issue or it was reported by multiple users
Projects
None yet
7 participants