Bug 1022986

Summary: Cannot clone repository when a url contains leading and trailing whitespaces
Product: [Retired] JBoss BRMS Platform 6 Reporter: Ivo Bek <ibek>
Component: Business CentralAssignee: manstis
Status: CLOSED CURRENTRELEASE QA Contact: Ivo Bek <ibek>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: kverlaen
Target Milestone: ER5   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:16:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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