We're updating the issue view to help you get more done. 

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

Deployment actions

None

Technical tasks

None

Status

Assignee

Unassigned

Reporter

Marijn Otte

Product owner

Marijn Otte

OTM project ID

None

Client

Integrated Marijn

Plan date

None

Developer

Koen Prins

Code reviewer

Ger Jan van den Bosch

Max. hours

None

Error message

None

Follow up date

None

Switches

None

Refiner

None

Story Points

3

Time tracking

7h 15m

Epic Link

Sprint

None

Fix versions

Due date

2017/06/21

Priority

Major