When I try to add a binary property, uploading a file, I get an error message.
The following error is in the log:
java.lang.NullPointerException at java.io.FileInputStream.<init>(FileInputStream.java:103) at org.ametys.workspaces.repository.jcr.SetPropertyAction.act(SetPropertyAction.java:92) at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:125)
The cause may be that the "set-property" request is sent using the "application/x-www-form-urlencoded" instead of "multipart/form-data" content-type.