Bug 310976 - Wrong git repository URL > "Process exited with status 128"
Summary: Wrong git repository URL > "Process exited with status 128"
Status: RESOLVED FIXED
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: git (show other bugs)
Version: 1.4.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: 1.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on: 310978
Blocks: 310979
  Show dependency treegraph
 
Reported: 2012-12-01 13:04 UTC by Bernd Oliver Sünderhauf
Modified: 2013-05-09 19:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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