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

OpenAM Amster export/import for Site have import errors

    XMLWordPrintable

    Details

    • Rank:
      1|hztguv:
    • AM Sustaining Sprint 70, AM Sustaining Sprint 71
    • 3
    • No
    • No
    • Yes
    • Yes and I used the same an in the description, Yes but I used my own steps. (If so, please add them in a new comment)

      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

              lawrence.yarham Lawrence Yarham
              chee-weng.chea C-Weng C
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: