Comment document type

Description

Background

A document type Comment is nice to have to store comments, for example related to other content.

Requirements

  • Create a document type Comment, which inherits from Content

  • Fields: Title, Author (referenceone to person, like in the Article document), Name, Email, Comment (textarea)

  • Create a Solr mapping for content and allow the "comment" field to be searched

  • The toString() will return the title. When empty it will return the name. When empty it will return the first 60 characters of comment with ... added, so it will be 63 characters in total

  • Add to the datafixures

  • Add a behat test create, search, edit and remove a comment

Technical tasks

None

Deployment actions

None

Activity

Show:
API
May 24, 2017, 1:37 PM

.Schatting van 7.25 uur is geaccepteerd door Integrated Marijn (in opdracht ingevoerd door Marijn Otte).

Koen Prins
June 2, 2017, 7:37 AM

Where (in what bundle), does this need to be added?

Koen Prins
June 7, 2017, 12:47 PM

je bent lief

Koen Prins
June 8, 2017, 11:22 AM

Dit is te testen (behat zit in de skeleton)

Assignee

Unassigned

Client

Integrated Marijn

Epic Link

Sprint

None

Fix versions

Configure