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

Thesaurus wrong data in initial_data.json #6966

Closed
mattiagiupponi opened this issue Feb 19, 2021 · 1 comment
Closed

Thesaurus wrong data in initial_data.json #6966

mattiagiupponi opened this issue Feb 19, 2021 · 1 comment
Assignees
Milestone

Comments

@mattiagiupponi
Copy link
Contributor

Expected Behavior

In initial_data.json, only valid initial data should be present

Actual Behavior

In initial_data.json, some mock values are available

"model": "base.thesaurus",
"pk": 8,
"fields": {
"identifier": "foo_name",
"title": "Mocked Title",
"date": "2018-05-23T10:25:56",
"description": "Mocked Title",
"slug": "abc",
"about": "http://inspire.ec.europa.eu/theme",
"card_min": 1,
"card_max": -1,
"facet": true
}
},

Steps to Reproduce the Problem

  1. Clone Geonode repository
  2. Load initial data
  3. Check thesaurus table

or
Open the file at this link to see the issue:

"model": "base.thesaurus",
"pk": 8,
"fields": {
"identifier": "foo_name",
"title": "Mocked Title",
"date": "2018-05-23T10:25:56",
"description": "Mocked Title",
"slug": "abc",
"about": "http://inspire.ec.europa.eu/theme",
"card_min": 1,
"card_max": -1,
"facet": true
}
},

Specifications

  • GeoNode version: 3.x
  • Installation method (manual, GeoNode Docker, SPCGeoNode Docker): all
@mattiagiupponi mattiagiupponi self-assigned this Feb 19, 2021
mattiagiupponi added a commit to geosolutions-it/geonode that referenced this issue Feb 19, 2021
mattiagiupponi added a commit to geosolutions-it/geonode that referenced this issue Feb 19, 2021
@afabiani afabiani added this to the 3.2 milestone Feb 19, 2021
mattiagiupponi added a commit to geosolutions-it/geonode that referenced this issue Feb 19, 2021
@etj
Copy link
Contributor

etj commented Feb 19, 2021

In initial data we don't want any thesaurus pre-installed.
ISO19115 make it possible to refer to thesaurus keywords, ma no one is mandatory in the base profile.
Specific profiles (INSPIRE, RNDT) require one or more keywords for specific thesauri, and GeoNode should be configurabile to handle them, aand that's what GNIP 82 was about.

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

No branches or pull requests

4 participants