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
title has the wrong type (Number):
title has the correct type (String):
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.
Just wanted to note that this still happens one year later than this issue was first reported. I created the task (which duplicates this one and is now therefore closed) and updated the "Affects version" of this ticket to match the current 4.0 version.