Uploaded image for project: 'cTAKES'
  1. cTAKES
  2. CTAKES-501

JdbcConnectionFactory fails if the database is on a URL-unsafe path

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.0.0
    • None
    • None
    • Patch

    Description

      JdbcConnectionFactory fails in the case where it uses FileLocator to find the database, but the path would be encoded inside a URL (e.g. if it has a space in it).  In this case, getConnectionUrl was producing a percent-encoded URL, but Hsqldb doesn't decode the URL it receives, it just treats it like a scheme followed by a plain file path.

       

      Patch attached.

       

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            ewanmellor-2 Ewan Mellor

            Dates

              Created:
              Updated:

              Slack

                Issue deployment