tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Blevins (JIRA)" <j...@apache.org>
Subject [jira] Closed: (OPENEJB-1371) Double encoding of persistence-unit root-url leads to issues in paths with spaces
Date Thu, 11 Nov 2010 19:39:14 GMT

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

David Blevins closed OPENEJB-1371.
----------------------------------

    Resolution: Fixed

Fixed in 3.1.x branch.  The trunk merge is pending.

> Double encoding of persistence-unit root-url leads to issues in paths with spaces
> ---------------------------------------------------------------------------------
>
>                 Key: OPENEJB-1371
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1371
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 3.1.3
>         Environment: Win xp / Linux + Hibernate 3.5.5 Final / Hibernate 3.2.6.ga
>            Reporter: Pierre V
>            Assignee: David Blevins
>            Priority: Blocker
>             Fix For: 3.1.4
>
>
> With spaces in persistence units paths, the generated URLs cannot be used by hibernate.
> In PersistenceUnitInfoImpl#setRootUrlAndJarUrls, the persistenceUnitRootUrl param seems
to have already been formated. The problem is fixed with 
> File root = new File(persistenceUnitRootUrl.replaceAll("%20"," "));

-- 
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