Page 1 of 1

OKMHotFolder Error

PostPosted:Mon Mar 18, 2019 4:53 pm
by mfreem2
trying to use OKMHotFolder 1.0 to upload a test txt file, get the following error (6.3.6CE):
Code: Select all
2019-03-18 12:34:25 [INFO] Created: C:\Users\M\Desktop\openkm\text.txt.txt
2019-03-18 12:34:25 [INFO] ProcessorHelper (upload): Starting...
2019-03-18 12:34:25 [INFO] ProcessorHelper (upload): localFile = C:\Users\M\Desktop\openkm\text.txt.txt
2019-03-18 12:34:25 [INFO] ProcessorHelper (upload): destPath = /okm:personal/M
2019-03-18 12:34:25 [ERROR] ProcessorHelper (upload)
2019-03-18 12:34:25 [ERROR] com.openkm.sdk4csharp.exception.OKMRestException: RepositoryImpl (hasNode)
Length cannot be less than zero.
Parameter name: length

System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
   at System.String.Substring(Int32 startIndex, Int32 length)
   at com.openkm.sdk4csharp.impl.RepositoryImpl.hasNode(String nodeId)
   at com.openkm.sdk4csharp.impl.RepositoryImpl.hasNode(String nodeId)
   at com.openkm.sdk4csharp.OKMWebservice20.hasNode(String nodeId)
   at com.openkm.helpers.ProcessorHelper.upload(String localFile)
2019-03-18 12:34:44 [INFO] ProcessorHelper (deleteFile): C:\Users\Melissa\Desktop\openkm\text.txt.txt
Not sure what this is telling me. The file does not upload

Re: OKMHotFolder Error

PostPosted:Thu Mar 21, 2019 8:13 pm
by pherrera
Hi,

The OKMHotFolder 1.0 is compatible with version 6.3.7 and upper of OpenKM, you must update your version.
You can see also: https://docs.openkm.com/kcenter/view/ho ... patibility
Regards,