Managed Hosting



Project Home Blog Forums Known Issues External Project Link Contact Project

ImageCFC Issue: expandPath fails inside a parent object

Name: expandPath fails inside a parent object
ID: 6
Project: ImageCFC
Type: Bug
Area: Code
Severity: Normal
Status: Closed
Related URL:
Creator: Stefan Vesterlund
Created: 09/19/07 3:43 PM
Updated: 09/02/09 7:06 PM
Description: The implementation of getImageMetaData() in imageCFC uses expandPath() to get the path to the metadata jar. That does not work well when you create the imageCFC object inside another object, since expandPath will retun the path to the parent object. Instead I did:
[code]//paths[1] = expandPath("metadata-extractor-2.3.1.jar");
      paths[1] = getDirectoryFromPath(getCurrentTemplatePath()) & "metadata-extractor-2.3.1.jar";[/code]
History: Created by stefanve (Stefan Vesterlund) : 09/19/07 3:43 PM

Updated by rickroot (Rick Root) : 09/02/09 7:06 PM
Better late than never, I'm making this change in version 2.20

To add a comment to this bug, please login using the link above.