Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-8957

Unable to attach an empty file on Oracle

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 5.0-milestone-1
    • Fix Version/s: 5.0-rc-1, 4.5.4
    • Component/s: Old Core
    • Environment:
      Windows 7
      Firefox 19
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      I always get an error when trying to attach an empty file to a document using the lastest XEM 5.0M2-Snapshot.

      Steps to reproduce:

      • Go to any page
      • Click on the "Attachments" tab
      • Click "Browse" and select an empty file (0 bytes)

      I got an error saying "An error occurred while uploading 2.txt", where 2.txt was my empty file. I've attached a screenshot and the stack trace.

        Attachments

        1. error.png
          error.png
          13 kB
        2. error.txt
          12 kB

          Issue Links

            Activity

              People

              Assignee:
              vmassol Vincent Massol
              Reporter:
              msmeria Manuel Smeria
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: