You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2010/11/11 20:39:14 UTC

[jira] Closed: (OPENEJB-1371) Double encoding of persistence-unit root-url leads to issues in paths with spaces

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