Hi Ben! On 03/07/2008 10:54 AM Ben / El Bekko wrote:
> I have encountered an exception in the ImageConversion library, in file > transformation.php on line 298, with code: > $this->lastHandler->close( $ref ); >>From what I understand of this error, is that the script throws an exception > on line 285, with this code: > $this->lastHandler = $this->converter->getHandler( null, $mimeIn, > $outMime ); > This is right after the reference, which the script is trying to use at line > 298, has been unset, which I believe is the cause of this exception. > Is this a bug in the library or could it be an oversight in my code? If I got you right, a first exception is raised in line 285, where a new handler is searched that can handle a certain MIME conversion. As this failes, the catch block comes into action and tries to clean up the current state. While doing so, another exception is raised (line 298), because the reference to be closed is already closed. This looks like a bug to me, yes. Please report it (including a reference to this thread) in our issue tracker: http://issues.ez.no/ Thanks for finding this! :) Regards, Toby -- Mit freundlichen Grüßen / Med vennlig hilsen / With kind regards Tobias Schlitt (GPG: 0xC462BC14) eZ Components Developer [EMAIL PROTECTED] | eZ Systems AS | ez.no -- Components mailing list [email protected] http://lists.ez.no/mailman/listinfo/components
