Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-710

lite ui export should support multivalued subject attributes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.0.2
    • Component/s: UI
    • Labels:
      None

      Description

      Should need to change: SimpleMembershipUpdateImportExport.java

      FROM:

      //lets see what we can get from the subject
      for (int i=0;i<headers.length;i++) {
      String header = headers[i];
      if ("name".equalsIgnoreCase(header))

      { result[i] = subject.getName(); } else if ("description".equalsIgnoreCase(header)) { result[i] = subject.getDescription(); } else if ("screenLabel".equalsIgnoreCase(header)) { result[i] = GrouperUiUtils.convertSubjectToLabelConfigured(subject); } else if (isAttribute[i]) { result[i] = subject.getAttributeValue(header); }
      }


      TO:

      //lets see what we can get from the subject
      for (int i=0;i<headers.length;i++) {
      String header = headers[i];
      if ("name".equalsIgnoreCase(header)) { result[i] = subject.getName(); }

      else if ("description".equalsIgnoreCase(header))

      { result[i] = subject.getDescription(); }

      else if ("screenLabel".equalsIgnoreCase(header))

      { result[i] = GrouperUiUtils.convertSubjectToLabelConfigured(subject); }

      else if (isAttribute[i])

      { result[i] = subject.getAttributeValueOrCommaSeparated(header); }

      }

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
              Reporter:
              chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: