Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-528

Allow Dictionary values to be specified using elements in WTKX

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.1
    • Component/s: wtk-wtkx
    • Labels:
      None

      Description

      Currently, it is possible to populate a dictionary type via attributes but not elements. For example, this is supported:

      <HashMap abc="123"/>

      as is this:

      <MyBeanClass>
      <abc>
      <MyOtherBeanClass/>
      </abc>
      </MyBeanClass>

      but this is not:

      <HashMap>
      <abc>
      <MyOtherBeanClass/>
      </abc>
      </HashMap>

      This prevents callers from populating a dictionary with anything other than primitive values. WTKXSerializer should also allow a caller to populate a dictionary with complex types, as shown above.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gbrown Gregory K. Brown

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment