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

Dashboard doesn't have any CSW catalog #1784

Closed
mattiagiupponi opened this issue Jun 21, 2024 · 1 comment · Fixed by #1792 or #1800
Closed

Dashboard doesn't have any CSW catalog #1784

mattiagiupponi opened this issue Jun 21, 2024 · 1 comment · Fixed by #1792 or #1800
Assignees
Labels
bug Something isn't working geonode-ui master

Comments

@mattiagiupponi
Copy link

mattiagiupponi commented Jun 21, 2024

Describe the bug

When opening a dashboard, no defaut CSW catalog are shown

dash.mp4

Expected Behavior

At least the geonode CSW catalog should be shown

Steps to Reproduce the Problem

  1. Open a new dashoard
  2. add widget
  3. chart
  4. Click on the dropdown box

Specifications

  • GeoNode client version: master/4.3.0
  • Browser: any
  • Installation type (vanilla, geonode-project): any
  • Additional details: None

Quick FIX

The regression was introduced by this fix in GeoNode GeoNode/geonode#12277 and GeoNode/geonode#12278
Two possible solutions

  1. Re-adding the settings in the settings.py file in GeoNode patch the issue
  2. Adding manually the CSW catalog by pressing on the + icon

Possible long-term solutions

  • Let the DashBoardEditor dont rely anymore on that particular config
  • Re-add the configuration by changing the name, so it will be used by the Dashboard ONLY

CC @giohappy @allyoucanmap @ElenaGallo

@giohappy
Copy link

giohappy commented Jun 25, 2024

@allyoucanmap maybe it's related to the change in #1777 where the GeoNode CSW catalogue has been removed?
I though it only affected the catalogue plugin for maps.

@allyoucanmap allyoucanmap linked a pull request Jul 2, 2024 that will close this issue
giohappy pushed a commit that referenced this issue Jul 3, 2024
* Fix #1784 Dashboard doesn't have any CSW catalog

* fix for review

* add getattr method for settings

* replace variable with string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment