-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 10.2
-
Fix Version/s: 10.3
-
Component/s: Nuxeo Drive
-
Tags:
-
Impact type:API change
-
Upgrade notes:
-
Sprint:nxfit 10.3.5
-
Story Points:3
On the Drive client side we see org.nuxeo.ecm.automation.OperationException: Failed to invoke operation NuxeoDrive.CreateFile
on the server the error is:
Caused by: java.lang.ClassCastException: org.nuxeo.drive.adapter.impl.DocumentBackedFolderItem cannot be cast to org.nuxeo.drive.adapter.FileItem
at org.nuxeo.drive.adapter.impl.DocumentBackedFolderItem.createFile(DocumentBackedFolderItem.java:504)
at org.nuxeo.drive.service.impl.FileSystemItemManagerImpl.createFile(FileSystemItemManagerImpl.java:241)
at org.nuxeo.drive.operations.NuxeoDriveCreateFile.run(NuxeoDriveCreateFile.java:80)
at sun.reflect.GeneratedMethodAccessor1249.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.nuxeo.ecm.automation.core.impl.InvokableMethod.doInvoke(InvokableMethod.java:170)
at org.nuxeo.ecm.automation.core.impl.InvokableMethod.invoke(InvokableMethod.java:175)
... 144 more