Uploaded image for project: 'OpenSAML - C++'
  1. OpenSAML - C++
  2. CPPOST-87

legacyOrgNames doesn't work as expected with empty mdui:UIInfo

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.3
    • Fix Version/s: 2.5.4
    • Component/s: Metadata
    • Labels:
      None
    • Operating System:
      Multiple
    • CPU Type:
      Multiple
    • C/C++ Compiler:
      Multiple
    • Web Server:
      Multiple

      Description

      If you have a metadata provider with legacyOrgNames="true", it's supposed to populate the discovery feed with a DisplayName taken from the md:OrganizationDisplayName if there isn't one supplied from mdui:UIInfo metadata.

      This appears to work except in the case where mdui:UIInfo is present but contains no mdui:DisplayName children (they are optional). In that case, the legacy display name is not passed through from ODN.

      This appears to be down to this conditional in DiscoverableMetadataProvider, line 317:

      if (m_legacyOrgNames && !extFound) {

      This is only true if the mdui:UIInfo extension is not found. It is false if the extension has been found but no mdui:DisplayName children were found.

        Attachments

          Activity

            People

            Assignee:
            cantor.2@osu.edu Scott Cantor
            Reporter:
            ian@iay.org.uk Ian Young
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 15 minutes
                15m