Bug 1022986 - Cannot clone repository when a url contains leading and trailing whitespaces
Summary: Cannot clone repository when a url contains leading and trailing whitespaces
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ER5
: 6.0.0
Assignee: manstis
QA Contact: Ivo Bek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-24 12:04 UTC by Ivo Bek
Modified: 2014-08-06 20:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:16:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ivo Bek 2013-10-24 12:04:53 UTC
Description of problem:

I receive this error whenever I forgot to remove trailing whitespaces:

Can't clone repository. java.lang.RuntimeException:Invalid remote: origin

and following error when I forgot to remove leading whitespaces:

Can't clone repository. java.lang.RuntimeException:File does not exist: .niogit/myrepo.git

There is nothing in server log but it should be enough to trim the url before you will use it.

How reproducible:

In Business central, clone a repository with leading or trailing whitespaces.

Comment 3 Ivo Bek 2013-12-04 11:58:07 UTC
Verified in BPMS 6.0.0.ER5


Note You need to log in before you can comment on or make changes to this bug.