#015011: use object property instead of argument in ezcImageImagemagickBaseHandler:checkImageMagick

Description:

On line 406 of ezcImageImagemagickBaseHandler Class

function checkImageMagick

$this->binary is set to NULL(undefined variable) instead of $settings->options['binary']

[...]


if ( !isset( $settings->options['binary'] ) )
        {
            $this->binary = ezcBaseFeatures::getImageConvertExecutable();
        }
        else if ( file_exists( $settings->options['binary'] ) )
        {
            $this->binary = @@--- $this->settings['binary'] +++ $settings->options['binary'] @@;
        }

[...]


Environment:

Operating System: Linux
PHP Version: 5.2.9


Steps to Reproduce:

Use first example of ImageConversion : Converting MIME typesurl


- Attachments

No attachments for this issue.


- Comments

Fixed in rev. #10499.

#261875 by Tobias Schlitt on June 9th, 2009 [Permanent Link]

This issue is present in current trunk (rev 11342)

#264323 by Andy Kintzinger on January 12th, 2010 [Permanent Link]

Fixed in rev. #11411.

#265350 by Tobias Schlitt on March 16th, 2010 [Permanent Link]

- History
Properties
Type Bug
Priority Medium
Components Components » ImageAnalysis
Components » ImageConversion
Affects 2008.2.3 - eZ components 2008.2.3
Fix Versions 2009.1beta1 - eZ components 2009.1beta1
2009.1RC1 - eZ components 2009.1RC1
Reporter Ze IceCube
Responsible Tobias Schlitt
Status 0 Closed
Resolution Fixed
Created June 2nd, 2009
Updated March 16th, 2010
Resolved March 16th, 2010
 
Navigation [Permanent Link]
Previous Issue
Back to Issues List
Next Issue: #015537
  Graph shows to small and truncated rotated axis labels