on 2017 Aug 04 6:26 PM
Hi,
We have exported UserRight by using the following statement
# ---- Extension: core ---- Type: UserRight ----
"#% impex.setTargetFile( ""UserRight.csv"" , true, 0, 0 );"
#SPECIAL CASE: Type UserRight will be exported with special logic (without header definition), see https://wiki.hybris.com/x/PIFvAg
"#% impex.exportItems( ""UserRight"" , false );"
It has generated the file UserRight impex.zip.
But when we imported the generated file, it failed with the following message.
ERROR [000001JL-ImpEx-Import::de.hybris.platform.impex.jalo.cronjob.ImpExImportJob] (000001JL-ImpEx-Import) [ImpExImportJob] line 150 at main script:
This is not a CSV file with permissions for users and user groups! Aborting...
de.hybris.platform.impex.jalo.ImpExException: line 150 at main script: This is not a CSV file with permissions for users and user groups! Aborting...
at de.hybris.platform.impex.jalo.Importer.importNextInternal(Importer.java:769) ~[impexserver.jar:?]
at de.hybris.platform.impex.jalo.Importer.importNext(Importer.java:738) ~[impexserver.jar:?]
at de.hybris.platform.impex.jalo.cronjob.ImpExImportJob.doImport(ImpExImportJob.java:290) [impexserver.jar:?]
at de.hybris.platform.impex.jalo.cronjob.ImpExImportJob.performJob(ImpExImportJob.java:248) [impexserver.jar:?]
at de.hybris.platform.impex.jalo.cronjob.ImpExImportJob.performCronJob(ImpExImportJob.java:115) [impexserver.jar:?]
at de.hybris.platform.cronjob.jalo.Job.execute(Job.java:1390) [processingserver.jar:?]
at de.hybris.platform.cronjob.jalo.Job.performImpl(Job.java:814) [processingserver.jar:?]
at de.hybris.platform.cronjob.jalo.Job.access$1(Job.java:767) [processingserver.jar:?]
at de.hybris.platform.cronjob.jalo.Job$JobRunable.run(Job.java:686) [processingserver.jar:?]
at de.hybris.platform.util.threadpool.PoolableThread.internalRun(PoolableThread.java:208) [coreserver.jar:?]
at de.hybris.platform.core.threadregistry.RegistrableThread.run(RegistrableThread.java:135) [coreserver.jar:?]
Caused by: de.hybris.platform.jalo.JaloInvalidParameterException: This is not a CSV file with permissions for users and user groups! Aborting...
at de.hybris.platform.jalo.security.ImportExportUserRightsHelper.importSecurity(ImportExportUserRightsHelper.java:623) ~[coreserver.jar:?]
at de.hybris.platform.impex.jalo.ImpExReader.writeUserRightsLines(ImpExReader.java:2228) ~[impexserver.jar:?]
at de.hybris.platform.impex.jalo.ImpExReader.readLine(ImpExReader.java:1947) ~[impexserver.jar:?]
at de.hybris.platform.impex.jalo.imp.ImpExImportReader.readLine(ImpExImportReader.java:500) ~[impexserver.jar:?]
at de.hybris.platform.impex.jalo.Importer.doImport(Importer.java:251) ~[impexserver.jar:?]
at de.hybris.platform.impex.jalo.Importer.importNextInternal(Importer.java:757) ~[impexserver.jar:?]
... 10 more
Best Regards,
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
22 | |
13 | |
4 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.