Event comments can have a rating of 0

Description

If you comment on an event with a rating of 0 then the comment gets created successfully with an HTTP 201 but looking at the code the error that is displayed if a comment is rated > 5 is 'The field "rating" must be a number (1-5)'

This implies that a comment with a 0 rating should return the same error and not a 201 Created

Status

Assignee

Calum Bulmer

Reporter

Calum Bulmer

Labels

Epic Name <span class="error">&#91;deprecated, this field is no longer being used&#93;</span>

None

Components

Priority

Minor