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

lite ui export should support multivalued subject attributes

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.2
    • 2.0.2
    • UI
    • 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); }

      }

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            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:

              Smart Checklist