-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
5.0.3, 5.1
All fields could be multi value fields, so returning an array.
In info.magnolia.search.solrsearchprovider.logic.result.SingleSolrSearchResultTransformer.transform(SolrDocument, Collection<?>) line 65:
String author = (String) solrDocument.getFieldValue("author");
Triggers a cast exception.
Best would be, to return to the script the Lists and not a String.
Then it would also be easy to loop over the multivalues within the script.
Acceptance criteria