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

REST: Annotation annotations.json doesn't work as expected

Steps to reproduce

Steps to reproduce:
1. Open http://testallinone.usask.ca:8080/docs.html?path=/annotation
2. Enter in values 2, test, 99991122, 2, 2 for the GET /annotations.json call
3. Error:

Status: 500 (org.apache.cxf.interceptor.Fault: Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'matterhorn.annotation' doesn't exist Error Code: 1146 Call: SELECT COUNT(id) FROM annotation WHERE (((mediapackage_id = ?) AND (annotation_type = ?)) AND (user_id = ?)) bind => [2, test, admin] Query: ReportQuery(name="findTotalByTypeAndMediapackageId" referenceClass=AnnotationImpl sql="SELECT COUNT(id) FROM annotation WHERE (((mediapackage_id = ?) AND (annotation_type = ?)) AND (user_id = ?))"))

Status

Assignee

Martin Abel

Reporter

Christopher Brooks

Severity

Incorrectly Functioning Without Workaround

Tags (folksonomy)

Components

Fix versions

Affects versions

1.4.0

Priority

Major