Skip to content

fix: display meta items only if provided by the api

schneider210 requested to merge bugfix/metadata into develop

Bug fix

Summary

Apart from what is mentioned in the main ticket you are going to close with this MR, tell us what you have done to achieve this goal.

  • The meta data are now displayed on a provided basis only, e.g.: if any data isn't delivered by the API, the corresponding item doesn't get rendered
  • provided a type check for the editor field which made the meta data crash

Note: to check it, pls check out the branch bugfix/metadata and watch the metadata panel once with the usual Ahiqar endpoint (default) and change that entrypoint to https://subugoe.pages.gwdg.de/emo/backend/sampledata/collection.json and refresh your page hereafter to take another look at the metadata panel once again.

Does the result of the MR comply to our "definition of done"?

  • Unit tests passed
  • Code reviewed
  • Acceptance criteria met
  • Functional tests passed
  • Non-Functional requirements met
  • Product Owner accepts the User Story

Related

Closes

Changelog

  • I added a statement to the CHANGELOG. No, it will be done automagically.

Documentation

  • I updated the README (if applicable)
  • I provided my functions with appropriate documentation

/cc Mathias Göbel, Michelle Weidling

Merge request reports