Uploaded image for project: 'Repository'
  1. Repository
  2. REPOSITORY-125

Cannot add a binary property

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.1.2
    • 2.1.1
    • Workspace
    • None

      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.

            ngavalda Nicolas Gavalda (Inactive)
            ngavalda Nicolas Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: