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

Unable to delete attachments larger than 10 mb using the jetty + hsql distribution

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.2-milestone-3
    • 4.0-rc-1
    • Old Core
    • None
    • Unknown
    • N/A
    • N/A

    Description

      steps to reproduce:

      • attach an attachment larger that 10 mb. (I have tried with a 13 MB attachment)
      • try to delete it.

      After waiting for several seconds, you wil lgen a "Failed to delete attachment: Server Error"

      Looking in the console, you will see the following lines:

      2012-04-13 14:29:39,938 [http://192.168.0.175:5555/xwiki/bin/delattachment/Main/WebHome/Firefox%20Setup%205.0.exe?form_token=xuv72plcTGk3cxoZmbtIxA&xredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2FWebHome%23Attachments&ajax=1] WARN  o.h.u.JDBCExceptionReporter    - SQL Error: -458, SQLState: S1000 
      2012-04-13 14:29:39,955 [http://192.168.0.175:5555/xwiki/bin/delattachment/Main/WebHome/Firefox%20Setup%205.0.exe?form_token=xuv72plcTGk3cxoZmbtIxA&xredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2FWebHome%23Attachments&ajax=1] ERROR o.h.u.JDBCExceptionReporter    - java.lang.RuntimeException: unsupported internal operation: Session java.lang.RuntimeException: unsupported internal operation: Session 
      

      Tested on 4.0 RC1 jetty+hsqldb.zip

      Attachments

        Issue Links

          Activity

            People

              sdumitriu Sergiu Dumitriu
              sorinello Sorin Burjan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: