aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Nuttall (JIRA)" <j...@apache.org>
Subject [jira] Updated: (ARIES-521) Unsafe File construction in ModelledResourceManagerImpl.findBlueprints()
Date Tue, 21 Dec 2010 14:30:00 GMT

     [ https://issues.apache.org/jira/browse/ARIES-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Nuttall updated ARIES-521:
-------------------------------

    Description: ModelledResourceManagerImpl.findBlueprints(Collection<IDirectory>)
builds a File from IFile.toString(). This fails on Windows when the IFile has a space in its
path name.   (was: ModelledResourceManagerImpl.findBlueprints(Collection<IDirectory>)
builds a File from IFile.toString(). This fails on Windows when the IFile has a space in its
path name. Change IFile.toString to use IFile.toURL().toURI())

BundleManifest.fromBundle(IFile) is the right method to use. I then found a bug in that method
in which we assumed that all directories in a path existed in their own right. In our itests,
we see temporary bundles created in which META-INF/ is not a ZipFile entry, even though META-INF/MANIFEST.MF
is. 

> Unsafe File construction in ModelledResourceManagerImpl.findBlueprints()
> ------------------------------------------------------------------------
>
>                 Key: ARIES-521
>                 URL: https://issues.apache.org/jira/browse/ARIES-521
>             Project: Aries
>          Issue Type: Bug
>          Components: Application
>    Affects Versions: 0.1, 0.2, 0.3, Incubation, 1.0
>            Reporter: Mark Nuttall
>            Assignee: Mark Nuttall
>             Fix For: 0.3, Incubation, 1.0
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> ModelledResourceManagerImpl.findBlueprints(Collection<IDirectory>) builds a File
from IFile.toString(). This fails on Windows when the IFile has a space in its path name.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message