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 on Exit Fullscreen #25024

Closed
shilpaprotiviti opened this issue Aug 18, 2023 · 6 comments · Fixed by #25028
Closed

Unexpected Error on Exit Fullscreen #25024

shilpaprotiviti opened this issue Aug 18, 2023 · 6 comments · Fixed by #25028

Comments

@shilpaprotiviti
Copy link

We are getting unexpected error in chart on click "Exit Fullscreen" button under dashboard. This is the error coming if we have set parametrized URL chart. On click of Exit Fullscreen button, parameters are getting removed and chart is unable to generate report from inputted dataset.

How to reproduce the bug

  1. Go to 'Dashabord', enter required input parameter and click on Apply button
  2. After loading of chart data, Click on 'Exit Fullscreen' button
  3. Chart is now showing "Unexpected Error"
  4. See error - Error: invalid input syntax for type date: "None"

Expected results - Parameter of URL should remain still there after click on Exit fullscreen button. Report must be able to show same data as earlier.

dashboard URL:
https://XX-XX.XX.com/superset/dashboard/XXX/?standalone=true&permissionType=Accounts%20Payable&dateType=itemdate&AgingDateOn=duedate&payOpt=open&balanceDate=2043-08-18&fromDate=2023-08-01&toDate=2023-08-18

dashboard URL on click fullscreen:
https://XX-XX.XX.com/superset/dashboard/XXX/?preselect_filters=%7B%7D&native_filters_key=L8FOes-Lp7E626te7o_PErUvPMCcgNfh8A_TWHdGk7NaE_8oRz7d0pyD2FpOwhHJ

Actual results - Parameters of URL are getting refreshed(removed). So chart is unable to show data without expected input values.

Screenshots

UnexpectedError - Superset

Environment

  • browser type and version: chrome ,microsoft edge (all)
  • superset version: superset version Version: 2.0.0
  • python version: python --version
  • node.js version: node -v
  • any feature flags active:
@MaheshKungaria
Copy link

We are also facing same issue where Superset reports are losing existing parameters when they click Exit Full Screen option. Please help to provide any resolution for same.

@michael-s-molina
Copy link
Member

Thanks for reporting this issue @shilpaprotiviti @MaheshKungaria. I submitted a fix here that will be cherry picked into 3.0.

@MaheshKungaria
Copy link

Thanks for the quick response @michael-s-molina please confirm which Superset version has this issue fixed?

@michael-s-molina
Copy link
Member

Thanks for the quick response @michael-s-molina please confirm which Superset version has this issue fixed?

This will be included in 3.0.

@MaheshKungaria
Copy link

May I know when Superset 3.0 will be releasing?

@michael-s-molina
Copy link
Member

May I know when Superset 3.0 will be releasing?

3.0 is currently being voted. You can follow release updates on the #apache-releases Slack channel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants