As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
testDoc = space.childByNamePath("test_doc.pdf"); if(testDoc!=null) { var newNode; for(i=0;i<500;i++) { newNode = space.createNode("test_" + i.toString() + ".pdf","cm:content"); newNode.content = testDoc.content; newNode.mimetype =testDoc.mimetype; newNode.properties.title=newNode.name; newNode.save(); } }
Please correct the errors below then click OK. * A system error happened during the operation: 02090638 Failed to execute script 'workspace://SpacesStore/59e69e84-009d-4e78-b7c8-caa5280bfc4e': could not insert: [org.alfresco.repo.domain.hibernate.ChildAssocImpl]; nested exception is org.hibernate.exception.LockAcquisitionException: could not insert: [org.alfresco.repo.domain.hibernate.ChildAssocImpl]
Please correct the errors below then click OK. * This wizard has been already been completed, please re-launch it to continue.
17:45:27,315 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Time to execute script: 50886.715ms17:45:27,430 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Imports resolved, adding resource '_root17:46:18,320 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Time to execute script: 101263.414ms17:46:18,320 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Time to execute script: 50887.766ms17:46:18,448 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Imports resolved, adding resource '_root17:46:18,744 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Imports resolved, adding resource '_root17:47:09,341 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Time to execute script: 50594.91ms17:47:09,341 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Time to execute script: 50890.727ms17:47:09,455 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Imports resolved, adding resource '_root17:47:09,639 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Imports resolved, adding resource '_root17:48:00,348 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Time to execute script: 50889.8ms17:48:00,348 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Time to execute script: 50706.74ms17:48:00,634 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Imports resolved, adding resource '_root17:48:00,651 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Imports resolved, adding resource '_root17:48:51,368 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Time to execute script: 50714.203ms17:48:51,368 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Time to execute script: 50731.688ms17:48:51,685 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Imports resolved, adding resource '_root17:48:52,141 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Imports resolved, adding resource '_root17:49:42,371 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Time to execute script: 50682.613ms17:49:42,933 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Imports resolved, adding resource '_root17:50:33,378 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Time to execute script: 50442.676ms17:50:33,378 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Time to execute script: 101233.914ms17:50:33,624 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Imports resolved, adding resource '_root17:50:34,104 User:jsauer DEBUG [repo.jscript.RhinoScriptProcessor] Imports resolved, adding resource '_root