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

Incorrect JSON types in Search API results

Steps to reproduce

Steps to reproduce:
1. ingest a recording where the title consists only of numbers
2. search for it using the search api

Actual Results:
title has the wrong type (Number):

title: 12345

Expected Results:
title has the correct type (String):

title: "12345"

Workaround (if any):
wherever you use the title from a search result, remember to cast it to a string before trying to manipulate it.

also, duration is a String but presumably should be a number.

i have not tested other APIs so don't know if the issue is more widespread.

Status

Assignee

Unassigned

Reporter

Paul Pettit

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

None

Components

Fix versions

Affects versions

2.1.1
3.3

Priority

Major