-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: OpenIDM 3.1.1
-
Fix Version/s: OpenIDM 3.1.1
-
Component/s: Module - Command line
-
Labels:
-
Target Version/s:
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."}] (...)
- is a backport of
-
OPENIDM-2668 Configimport fails on configuration with a path containing a slash
-
- Closed
-