You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Pierre V (JIRA)" <ji...@apache.org> on 2010/11/08 18:23:09 UTC
[jira] Commented: (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:comment-tabpanel&focusedCommentId=12929635#action_12929635 ]
Pierre V commented on OPENEJB-1371:
-----------------------------------
I just have reverted to r1025514. The problem do not exist in this revision.
> 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.