Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • T TIDO
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 106
    • Issues 106
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
    • Jira issues
    • Open Jira
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • subugoe
  • emo
  • TIDO
  • Issues
  • #109

Closed
Open
Created Nov 25, 2020 by mrodzis@mrodzis🌿Owner1 of 1 task completed1/1 task

Title Objects for items as heading not supported

Bugs

Description

The TextAPI specifies that titles consist of Title Objects which have a title key and a type key[1]. The viewer doesn't seem to support this data structure which can be observed in the main heading in Michelle's test viewer which consumes test data.

[1] Cf. https://subugoe.pages.gwdg.de/emo/text-api/page/specs/#title-object.

I expected the following to happen

The title of https://mrodzis.pages.gwdg.de/test/sampledata/document1/1/latest/item.json, "A letter from X to Y.", should have been displayed as the main title of the viewer.

(BTW I'm not sure if the main heading shouldn't be the heading of the whole collection, which would be "The Example Collection" in case of the test data. Currently the item's title is taken for filling in the heading.)

On the contrary, I observed

The whole Title Object has been parsed to a string.

How to reproduce the bug

https://mrodzis.pages.gwdg.de/Qviewer/develop/#/?itemurl=https%3A%2F%2Fmrodzis.pages.gwdg.de%2Ftest%2Fsampledata%2Fdocument2%2F3%2Flatest%2Fitem.json

Severity

How much impact does this bug have on the product or further development?

  • Major

Screenshot

Screenshot_2020-11-25_14-53-57

/cc Mathias Göbel, Frank Schneider, Michelle Weidling

Assignee
Assign to
Time tracking