Add __toString to Content document

Description

Background

In different cases we have to display the name/title of a document. Currently not all documents support this.

Functional requirements

  • Add a __toString function to the content document

  • Add the __toString function to all document types (you can refer to the Solr configuration for the "title" field to see the data it need to contain

  • You will need to make the Content document abstract, because it can't have a __toString

  • An implementation has already been created, but was denied:

Deployment actions

Each document that extends directly from the Content document needs to implement a __toString() function.

Technical tasks

None

Status

Assignee

Unassigned

Reporter

Marijn Otte

Product owner

None

OTM project ID

None

Client

None

Plan date

None

Developer

Jeroen van Leeuwen

Code reviewer

Michael Jongman

Max. hours

None

Error message

None

Follow up date

None

Switches

None

Refiner

None

Story Points

2

Time tracking

6h 45m

Sprint

None

Fix versions

Priority

Major
Configure