OpenEnergyPlatform / oeplatform

Repository for the code of the Open Energy Platform (OEP) website. The OEP provides an interface to the Open Energy Family
http://openenergyplatform.org/
GNU Affero General Public License v3.0
61 stars 19 forks source link

Adding new Tags raises error if metadata is empty #1527

Closed jh-RLI closed 3 months ago

jh-RLI commented 5 months ago

Description of the issue

If a tag is added to a table without metadata, omi triggers an error.

Steps to Reproduce

  1. Open table detail page
  2. Add Tag and submit
  3. Tag is added but the page is redirectet to interal server error page.

Ideas of solution

  1. Check if metadata on table in available, otherwise skip adding tags to metadata keywords.

Context and Environment

Workflow checklist