You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2014/09/18 17:32:33 UTC
[jira] [Resolved] (UIMA-4015) logic hole in obscure case in
MetaDataObject_impl
[ https://issues.apache.org/jira/browse/UIMA-4015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marshall Schor resolved UIMA-4015.
----------------------------------
Resolution: Fixed
> logic hole in obscure case in MetaDataObject_impl
> -------------------------------------------------
>
> Key: UIMA-4015
> URL: https://issues.apache.org/jira/browse/UIMA-4015
> Project: UIMA
> Issue Type: Bug
> Components: Core Java Framework
> Affects Versions: 2.6.0SDK
> Reporter: Marshall Schor
> Assignee: Marshall Schor
> Priority: Minor
> Fix For: 2.6.1SDK
>
>
> While reviewing the changes in MetaDataObject_impl, I noticed a path in writePrimitiveValue, which wraps the primitive value with an "element-kind", like <element-kind>value</element-kind>. For JSON serialization, this is { "element-kind" : value }. But for JSON this wrapping is not done if the value is a string. There's a logic bug in this case (which may not occur in practice?) - the skipping of the writing of the closing } is not done, needs fixing.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)