Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-4015

logic hole in obscure case in MetaDataObject_impl

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.0SDK
    • Fix Version/s: 2.7.0SDK
    • Component/s: Core Java Framework
    • Labels:
      None

      Description

      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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            schor Marshall Schor
            Reporter:
            schor Marshall Schor
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development