Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7902261

Restore protection from null when loading question values

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: jt6.0
    • Fix Version/s: jt6.0
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Introduced In Build:
      b02
    • Resolved In Build:
      b03

      Description

      Patch for CODETOOLS-7901674 contains the changes to several Question subclasses similar to the following below.

      =======================================
      - protected void load(Map data) {
      - Object o = data.get(tag);
      - if (o instanceof String)
      - setValue((String)o);
      + protected void load(Map<String, String> data) {
      + String o = data.get(tag);
      + setValue(o);
           }
      =======================================

      Before the change null values were not loaded. Now they are.
      This needs to be fixed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dbessono Dmitry Bessonov
                Reporter:
                dbessono Dmitry Bessonov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: