-
Notifications
You must be signed in to change notification settings - Fork 40
cannot import into an RM site #39
Comments
A couple of questions to try and gather some more information on this problem ..
|
Hi Guys, Thanks for looking at this. I did an export of the military assignment Since raising the issue but, I have noted that one of the fields in my Also I tried using the built in alfresco bulk importer (ie old version of One question I have that would really help with what I am doing. I have Regards and thanks for any help. Brian Brian On Mon, Jul 20, 2015 at 9:27 AM, Roy Wetherall [email protected]
Brian O'Neill | Principal |
@boneill would you mind answering Roy's questions? That will help nail down what's happening. |
FWIW I just noticed that the stack trace above is incomplete (the code was losing important exception information), so I've just fixed that (in rev 1e5ee07). I'll try to cut a new RC later this week, and if you're able to reproduce the issue and post the improved stack trace we may have a better chance of identifying the root cause. |
Hi Roy, Answers below:
Regards Brian On Mon, Jul 20, 2015 at 9:27 AM, Roy Wetherall [email protected]
Brian O'Neill | Principal |
I just pushed RC2 - if you could give that a whirl and paste in the full exception stack we might get a bit more information about what's going on. |
@roywetherall any insights based on the information @boneill provided above? |
Hi Guys, I will do my best to testing this again towards the end of this week. I Brian On Tue, Aug 4, 2015 at 4:56 AM, Peter Monks [email protected]
Brian O'Neill | Principal |
Any updates? I'd like to dig a bit deeper into this before pushing the v2.0 GA, but don't have access to an RM environment to test against. |
Hi pmonks, I was trying to import files to RM and ran into this issue. To be exact, line 511 in BatchImporterImpl.java RM doesn't allow type change so we get AccessDeniedException. Is there any specific reason why you are setting the type again after createNode? |
@taradic the That said, for the creation case the call is redundant, and given RM's apparent intolerance of |
When I try to import into an RM site I get access denied exception.
2015-07-17 15:25:51,448 INFO [org.alfresco.extension.bulkimport.impl.Scanner] [BulkImport-Scanner] BULKIMPORT: Import (streaming) started from Default.
2015-07-17 15:25:51,550 DEBUG [org.alfresco.extension.bulkimport.impl.BatchImporterImpl] [BulkImport-Scanner] BULKIMPORT: Importing Batch #1, 1 items, 0 bytes.
2015-07-17 15:25:51,566 DEBUG [org.alfresco.extension.bulkimport.impl.BatchImporterImpl] [BulkImport-Scanner] BULKIMPORT: Finding parent folder ''.
2015-07-17 15:25:51,806 ERROR [org.alfresco.extension.bulkimport.impl.Scanner] [BulkImport-Scanner] BULKIMPORT: Bulk import from 'Default' failed.
org.alfresco.extension.bulkimport.impl.ItemImportException: Unexpected exception:
class org.alfresco.repo.security.permissions.AccessDeniedException: 06170051 Access Denied. You do not have the appropriate permissions to perform this operation.
While importing item: Military Assignment Documents (1 version):
HEAD:
at org.alfresco.extension.bulkimport.impl.BatchImporterImpl.importItem(BatchImporterImpl.java:230)
at org.alfresco.extension.bulkimport.impl.BatchImporterImpl.importBatchImpl(BatchImporterImpl.java:193)
at org.alfresco.extension.bulkimport.impl.BatchImporterImpl.access$200(BatchImporterImpl.java:67)
at org.alfresco.extension.bulkimport.impl.BatchImporterImpl$2.execute(BatchImporterImpl.java:161)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
at org.alfresco.extension.bulkimport.impl.BatchImporterImpl.importBatchInTxn(BatchImporterImpl.java:152)
at org.alfresco.extension.bulkimport.impl.BatchImporterImpl.access$000(BatchImporterImpl.java:67)
at org.alfresco.extension.bulkimport.impl.BatchImporterImpl$1.doWork(BatchImporterImpl.java:128)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
at org.alfresco.extension.bulkimport.impl.BatchImporterImpl.importBatch(BatchImporterImpl.java:122)
at org.alfresco.extension.bulkimport.impl.Scanner.submitCurrentBatch(Scanner.java:336)
at org.alfresco.extension.bulkimport.impl.Scanner.run(Scanner.java:199)
at java.lang.Thread.run(Thread.java:745)
2015-07-17 15:25:51,810 INFO [org.alfresco.extension.bulkimport.impl.LoggingBulkImportCompletionHandler] [BulkImport-Scanner] BULKIMPORT: Streaming bulk import completed (Failed) in 00s 352.001ms.
Batches: 0 imported of 1 submitted (0.000 / sec)
Nodes: 0 (0.000 / sec)
Bytes: 0 (0.000 / sec)
Versions: 0
Metadata properties: 0
Files: 0 in-place, 0 streamed, 0 skipped
Out-of-order batches: 0
Regards
Brian
The text was updated successfully, but these errors were encountered: