Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-19323

Fail to upload docx files with DFS (Oracle/MySQL)

    XMLWordPrintable

    Details

      Description

      When trying to upload a *.docx file I get the following Error.

      Warning: PHP: E_WARNING Apr 05 2012 13:07:22
      oci_execute(): ORA-12899: verdien er for stor for kolonnen "EZP"."EZDFSFILE"."DATATYPE" (faktisk: 71, maksimum: 60) in /var/www/apache2php53/ezp/.run/extension/ezoracle/clusterfilehandlers/dfsbackends/oracle.php on line 1264
      Error: _store(var/storage/original/application/d809205ef4767d64131f73e17c50a74e.docx, application/vnd.openxmlformats-officedocument.wordprocessingml.document, binaryfile) Apr 05 2012 13:07:22
      Failed to execute SQL for function:
      INSERT INTO ezdfsfile (name, name_hash, datatype, scope, filesize, mtime, expired) VALUES ('var/storage/original/application/d809205ef4767d64131f73e17c50a74e.docx', '9b764469608a7be925d34f0f7cb7666a', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'binaryfile', 12742, 1333624042, '0')
      12899 : ORA-12899: verdien er for stor for kolonnen "EZP"."EZDFSFILE"."DATATYPE" (faktisk: 71, maksimum: 60)
      Error: Apr 05 2012 13:07:22
      Failed to insert file metadata while storing. Possible race condition
      12899: ORA-12899: verdien er for stor for kolonnen "EZP"."EZDFSFILE"."DATATYPE" (faktisk: 71, maksimum: 60)

      Steps to reproduce
      1. Login to the admin interface as admin
      2. Click the “Content structure” tab in the top tab menu
      3. Click the “Create new” button and select “Folder” from the drop-down menu
      4. Fill in the name field: “My Files”
      5. Click the “Send for publishing” button
      6. In the sub-items list, click the link to the newly created folder
      7. Click the “Create new” button and select “File” from the drop-down menu
      8. Fill in the name field: “Test File 2”
      9. In the File section, click the “Browse” button, and select the File2.docx file (attached).
      
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jv@ez.no Jérôme Vieilledent
              Reporter:
              pedro.resende Pedro Resende
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: