Uploaded image for project: 'Shibboleth User Interface'
  1. Shibboleth User Interface
  2. SHIBUI-2341 Bulk Upload
  3. SHIBUI-2360

Importing entity from metadata aggregate file via xml api fails with a 400

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Minor
    • None
    • None
    • None
    • 2020 Sprint 8, 2022 Sprint 9, Sprint 10

    Description

      I am able to import individual metadata entities via the xml api without issue.

      When trying to import metadata entities extracted from an aggregate file I receive a 400 and no other information.  Attempting to upload the same xml via the UI results in a 400 .. undefined.

      An example xml file that fails is attached.

      This is most likely namespace related. In the aggregate file everything is wrapped in a <EntitiesDescriptor> tag that defines all the namespaces.  I had to add the namespaces to each individual <EntityDescriptor> to get the Perl XML parser to accept it.

      Attachments

        Activity

          People

            sean.porth@at.internet2.edu Sean Porth
            sean.porth@at.internet2.edu Sean Porth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: