GFDRR / open-risk-data-dashboard

Repository for the Open Data for Resilience Index, a website to track and improve the state of Open Data for Resilience worldwide.
https://index.opendri.org
GNU Lesser General Public License v3.0
23 stars 8 forks source link

Unable to edit and save dataset #473

Open pzwsk opened 5 years ago

pzwsk commented 5 years ago

Trying to update this dataset as admin but message says "unable to update the dataset" https://index.opendri.org/dataset_details.html?keyds=37

nastasi-oq commented 5 years ago

Fast investigation directly on the DB tell that no dataset exists with that id.

db=# select id from ordd_api_dataset order by id;
 ....
  35
  36
  38
  39
 ....
pzwsk commented 5 years ago

Hi, removed it since then.

Should have updated GH.

I think issue is FE side with category selection.

On Fri, Apr 5, 2019 at 8:31 AM Matteo Nastasi notifications@github.com wrote:

Fast investigation directly on the DB tell that no dataset exists with that id.

db=# select id from ordd_api_dataset order by id; .... 35 36 38 39 ....

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GFDRR/open-risk-data-dashboard/issues/473#issuecomment-480163715, or mute the thread https://github.com/notifications/unsubscribe-auth/ACRKx0a67hSgpM68Zq2CsFvWAAeC3qLGks5vdu3KgaJpZM4cdKIf .

pzwsk commented 5 years ago

I have similar issue with https://index.opendri.org/dataset_details.html?keyds=189

@CIMAManuel could you have a look?

Many thanks!

CIMAManuel commented 5 years ago

Hi, I tried to edit and save the dataset: the server response was: Bad Request Detail: ""Tag 'River flooding' not allowed for KeyDataset 'Map of lifeline infrastructures such as utilities that provide essential services to the people. Critical infrastructures include roads, railways, power, water, and telecommunication networks and assets as well as bridges, airports, harbors, education and health facilities.'".

nastasi-oq commented 5 years ago

I will take a look.