Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-2668

Configimport fails on configuration with a path containing a slash

    Details

    • Sprint:
      Sprint 31

      Description

      Since http://sources.forgerock.org/changelog/openidm?cs=4649
      we moved to CREST 2.4.2 to fix some encoding issues.
      This caused a regression in configimport:
      configuration with slash (e.g. endpoint/reconResults) are not imported anymore.
      Error message suggest an encoding issue:

      No existing configuration found for endpoint%2FreconResults
      

      Steps to reproduce the issue:
      1) export in a backup folder

      [MBP]$ ./cli.sh configexport --user openidm-admin:openidm-admin backup
      Executing ./cli.sh...
      Starting shell in /Users/laurent/Installs/openidm
      Using boot properties at /Users/laurent/Installs/openidm/conf/boot/boot.properties
      [ConfigExport] Export JSON configurations to:
      [ConfigExport] 	/Users/laurent/Installs/openidm/backup
      [ConfigExport] router ...................................... SUCCESS
      [ConfigExport] ui/themeconfig .............................. SUCCESS
      (...)
      

      2) import the exported configuration:

      [MBP]$ ./cli.sh configimport --user openidm-admin:openidm-admin backup
      Executing ./cli.sh...
      Starting shell in /Users/laurent/Installs/openidm
      Using boot properties at /Users/laurent/Installs/openidm/conf/boot/boot.properties
      ...................................................................
      [ConfigImport] Load JSON configuration files from:
      [ConfigImport] 	/Users/laurent/Installs/openidm/backup
      [ConfigImport] scheduler ................................... SUCCESS
      [ConfigImport] endpoint/reconResults ....................... FAILED
      	[Not Found {"code":404,"reason":"Not Found","message":"No existing configuration found for endpoint%2FreconResults, can not update the configuration."}]
      [ConfigImport] script ...................................... SUCCESS
      [ConfigImport] workflow .................................... SUCCESS
      [ConfigImport] endpoint/gettasksview ....................... FAILED
      	[Not Found {"code":404,"reason":"Not Found","message":"No existing configuration found for endpoint%2Fgettasksview, can not update the configuration."}]
      [ConfigImport] endpoint/linkedView ......................... FAILED
      	[Not Found {"code":404,"reason":"Not Found","message":"No existing configuration found for endpoint%2FlinkedView, can not update the configuration."}]
      (...)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brmiller Brendan Miller
                Reporter:
                laurent.bristiel Laurent Bristiel [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: