我有以下一段代码
try {
dataList.asInstanceOf[AlfrescoFolder].createItem(
Map("cmis:objectTypeId" -> "D:dl:contact",
"cmis:name" -> (data.emailAddress + "_Newsletter_sub"),
"dl:contactEmail" -> data.emailAddress)
)
}
catch{
case e: CmisRuntimeException => Logger.error("\n\n ====> silently ignoring this exception because the item is created\n"+e.getMessage+"\n\n");
}
它工作正常并创建数据列表项。但它会抛出异常消息
Execution exception[[CmisRuntimeException: Newly created object is not an item!新 id:对象 ID:
我想知道这是否是此 api 方法的正常/已知问题以及它发生的原因。谢谢