#012166: Undefined attribute in ezcImageImagemagickBaseHandler

Description:

If ImageMagick is not propperly installed an error message like this appears:

Handler class '' not found. ImageMagick not installed or not available in PATH variable.

There is not information about the handler class because $this->name in
ImageConversion/src/handlers/imagemagick_base.php Line 393 seems to be undefined.

Furthermore it could be helpful to add the $errorString to the exception message because ImageMagick can fail even if it is installed and available in PATH variable (e.g. permission problems).


Environment:

Operating System: Windows XP, WIndows Server 2003
PHP Version: 5.2.5
Database and version: MSSQL 2000
Browser (and version): IE 6


Steps to Reproduce:

Try to create an ezcImageConverter()-Object with no ImageMagick:

$settings = new ezcImageConverterSettings(
array(
new ezcImageHandlerSettings( 'GD', 'ezcImageGdHandler' ),
new ezcImageHandlerSettings( 'ImageMagick', 'ezcImageImagemagickHandler' ),
)

);
self::$imageConverter = new ezcImageConverter( $settings );


- Attachments

No attachments for this issue.


- Comments

Fixed in rev. 6951 for ImageConversion 1.3.3 and eZ Components 2007.2.

#255083 by Derick Rethans on December 10th, 2007 [Permanent Link]

- History
Properties
Type Bug
Priority Medium
Component Components » ImageConversion
Affects Unknown
Fix Version 2007.2 - eZ components 2007.2
Reporter Frank Gießelmann-Wilms
Responsible Derick Rethans
Status 0 Closed
Resolution Fixed
Created December 4th, 2007
Updated December 10th, 2007
Resolved December 10th, 2007
 
Navigation [Permanent Link]
Previous Issue
Back to Issues List
Next Issue: #015537
  Graph shows to small and truncated rotated axis labels