Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-11159

OpenAM Amster export/import for Site have import errors

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 14.0.0
    • Fix Version/s: None
    • Component/s: Amster
    • Labels:
    • Support Ticket IDs:

      Description

      When a OpenAM have a site and doing and export-config and import-config and import error happens. Ideally the export/import should work w/o issues.

      Import error:

      ---------------------------------------------------------------------
         IMPORT ERRORS
      ---------------------------------------------------------------------
      Failed to import /new-export-config/global/Sites/lb.json  : 400 Bad Request: Only url, secondaryURLs and _id are valid in write
      

      The issue is that the lb.json have a file "id" in the export that is not recognised by the import

      {
        "metadata" : {
          "realm" : null,
          "amsterVersion" : "14.0.0",
          "entityType" : "Sites",
          "entityId" : "lb",
          "pathParams" : { }
        },
      
        "data" : {
          "_id" : "lb",
          "id" : "02",
          "url" : "https://openam.example.com:8443/openam",
          "secondaryURLs" : [ ]
        }
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                chee-weng.chea C-Weng C
              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated: