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:

Technical tasks

None

Deployment actions

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

Activity

Show:
Jeroen van Leeuwen
November 30, 2016, 8:00 AM

de unittests doen het nu op 0.6.

Jeroen van Leeuwen
November 30, 2016, 8:57 AM

Met overlegd dat er een kanban bug issue hiervoor komt.

Michael Jongman
December 1, 2016, 11:26 AM

, zullen we deze morgen even samen doornemen?

Jeroen van Leeuwen
December 1, 2016, 11:38 AM

doen we!

Marijn Otte
December 7, 2016, 11:23 AM

Seems to break the unit test:

Assignee

Unassigned

Client

None

Sprint

None

Fix versions

Configure