Bug 310976

Summary: Wrong git repository URL > "Process exited with status 128"
Product: [Developer tools] kdevplatform Reporter: Bernd Oliver Sünderhauf <pancho.s>
Component: gitAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.4.1   
Target Milestone: 1.3.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on: 310978    
Bug Blocks: 310979    

Description Bernd Oliver Sünderhauf 2012-12-01 13:04:54 UTC
When fetching a new project from git, entering an invalid repository URL such as "git clone http://anongit.kde.org/something" in the Fetch Project wizard leads to the following error:
"Process exited with status 128".

After confirming, the fields are not even reset, but stay read-only with the "Next >" button being enabled. It is even possible to go through the whole wizard leading to the creation of a corrupt project.

Reproducible: Always



Expected Results:  
The error should be avoided by a validity check rightaway.
At least it should be caught emitting a meaningful error message, with the source field being reset or at least reenabled and the "Next >" button disabled until a valid URL has been entered.

Wasn't sure abozut the right component, so choosing "General" for now.
Comment 1 Kevin Funk 2013-05-09 19:08:25 UTC
Fixed by:

commit 9d03640538f24dedc55d77174be3dd87f271df2c
Author: Kevin Funk <kevin@kfunk.org>
Date:   Thu May 9 18:47:41 2013 +0200

    React on errors of VcsJob
    
    Otherwise, if the job fails, the "Next" button is enabled
    
    CCBUG: 319568