Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-1371

Double encoding of persistence-unit root-url leads to issues in paths with spaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.1.3
    • 3.1.4
    • deployment
    • None
    • Win xp / Linux + Hibernate 3.5.5 Final / Hibernate 3.2.6.ga

    Description

      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"," "));

      Attachments

        Issue Links

          Activity

            People

              dblevins David Blevins
              ordiax Pierre V
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: