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

crash when creating new node with ezmedia datatype as attribute

    XMLWordPrintable

Details

    Description

      When you create a new content class having an attribute of type ezmedia, creating a new node of that class will crash with an oracle error saying that we are trying to insert an null value to a field.

      A fix was done by a partner:
      ez_consumer/kernel/classes/datatypes/ezmedia/ezmediatype.php at line #76
      // JS 09/10/08: SUPER HACK! Set these attributes manually else creating a flash object
      draft fails
      $media->setAttribute( 'filename', 'nothing.swf' );
      $media->setAttribute( 'original_filename', 'nothing.swf' );
      $media->setAttribute( 'mime_type', 'application/x-shockwave-flash' );

      Attachments

        Activity

          People

            Unassigned Unassigned
            jkn jkn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: