Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-5335

Ensure that DocumentSchema.getSubFields() returns a non null value

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Detail
    • Resolution: Unresolved
    • Affects Version/s: 3.12.1
    • Fix Version/s: None
    • Component/s: Schemas

      Description

      On August 22 2011, this line was introduced. We can assume that the intended behaviour would be to return an empty list if subFields is null, but instead, we are (still today) returning null.
      Although this change is trivial, it will likely require some adjustments in the tests, as it is possible that those are expecting to get null for some cases. There's also a possibility for us to clean up the code base to avoid checking for null after getting the subfields, as it will no longer be a possibility if this is fixed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mnixo Miguel Nixo
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.