trying to use OKMHotFolder 1.0 to upload a test txt file, get the following error (6.3.6CE):
Code: Select all
Not sure what this is telling me. The file does not upload2019-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