Red Hat Bugzilla – Bug 1022986
Cannot clone repository when a url contains leading and trailing whitespaces
Last modified: 2014-08-06 16:16:48 EDT
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.
In Business central, clone a repository with leading or trailing whitespaces.
Verified in BPMS 6.0.0.ER5