clarity-h2020 / docker-drupal

Drupal 8 Project for implememting the CLARTIY CSIS Platform.
https://csis.myclimateservice.eu
GNU Lesser General Public License v3.0
3 stars 0 forks source link

Error when adding new scenario in study context #139

Closed p-a-s-c-a-l closed 4 years ago

p-a-s-c-a-l commented 4 years ago

I've added a new scenario by editing the study context:

grafik

The following error occurred:

Warning: assert(): Cannot load a NULL ID. failed in Drupal\Core\Entity\EntityStorageBase->load() (line 249 of core/lib/Drupal/Core/Entity/EntityStorageBase.php). Warning: array_flip(): Can only flip STRING and INTEGER values! in Drupal\Core\Entity\EntityStorageBase->loadMultiple() (line 266 of core/lib/Drupal/Core/Entity/EntityStorageBase.php).

Event Log:

patrickkaleta commented 4 years ago

Strange. Denis experienced the same. I though I found the problem and fixed that. Need to look into that again...

NICDDB commented 4 years ago

Me too i've this problem. And also the calculation does not start

Schermata 2020-04-30 alle 15 27 53 Schermata 2020-04-30 alle 15 28 05
patrickkaleta commented 4 years ago

And also the calculation does not start

The calculations needs to be triggered manually by clicking on the button on the bottom right side of the screenshot. Study scenarios are not used for the calculation trigger, so it should not be related to this issue.

Still investigating why this error messages sometimes pops up and sometimes not. @NICDDB What Study exactly is this?

NICDDB commented 4 years ago

The calculations needs to be triggered manually by clicking on the button on the bottom right side of the screenshot. Study scenarios are not used for the calculation trigger, so it should not be related to this issue.

Yes i know this, but i don't have a feedback that say me if the calculation start or not. Anyway after clicking the button "start calculation" i check in the hazard characterization - local effect / table and i don't have results.

What Study exactly is this?

I'm working on two study The first is a my study called - Napoli validation study -, that have a olds results in the table. The second is my study called - Napoli validation check -, that not have nothing results in the table.

patrickkaleta commented 4 years ago

Sorry, I believe there was an issue with your permissions. Once you click the button, an info-windows should pop up and ask for your confirmation to trigger the calculations: trigger-permissions

Only after you confirm that, the calculation is actually triggered.

For the Study "Napoli validation study", I already triggered the calculation. The Study " Napoli validation check" has never been calculated, so that's why no results where shown. Please try to trigger it yourself once the other calculation is completed and let me know if the problem still persists.

NICDDB commented 4 years ago

This info-windows has never been until now. Anyway now the calculation work. Thanks you @patrickkaleta!