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

Restore protection from null when loading question values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • jt6.0
    • jt6.0
    • tools
    • b02
    • b03

      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.

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

              Created:
              Updated:
              Resolved: