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

Unable to add hazard index tag to resource #154

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

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

I've introduced a new hazard index and updated the respective entity queue, but now I'm unable to add any hazard index tag to this resource:

hazard-index

I've rebuilt the cache but that didn't help.

patrickkaleta commented 4 years ago

@p-a-s-c-a-l you've created and linked the new hazard index correctly. But you're clicking on the wrong button (as was I for about half an hour).

You need to confirm your selection of tags by clicking on the "Add selected" button. The "Add Tag" button triggers a page reload, which leads to your selection getting lost, since it was not yet explicitly confirmed (that's the workflow the Entity Browser module uses, which we have no control over). Since for the Hazards indexes the list list pretty long, the relevant "Add selected" button is hidden and you have to scroll down completely, so that you can see and click it.

I don't know why the "Add Tag" button is even there. It's created by the Entity Browser module, so we can't control this behaviour. Maybe we can hide that button via our csis_helpers module or by making some changes in our theme.

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

Ah, now it worked. Thanks! :-)