Details
-
Bug
-
Resolution: Obsolete
-
Medium
-
None
-
4.0.6, extension/ezoracle 1.8.1
-
None
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' );