Bug 310978

Summary: Wrong SVN repository URL > wizard still allows completion
Product: [Developer tools] kdevplatform Reporter: Bernd Oliver Sünderhauf <pancho.s>
Component: subversionAssignee: 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:
Bug Depends on: 273759    
Bug Blocks: 310976    

Description Bernd Oliver Sünderhauf 2012-12-01 13:15:09 UTC
When fetching a new project from SVN, entering an invalid repository URL such as "git clone http://anongit.kde.org/something" in the Fetch Project wizard leads to the following error: "Error executing Job:
Unable to connect to a repository at URL 'http://anongit.kde.org/something'
»http://anongit.kde.org/something« Path not found",
which as an error message is quite okay.

However, after confirming, the fields are not 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, after confirming the error message, the source field needs to be reset or at least reenabled and the "Next >" button disabled until a valid URL has been entered.

Wasn't sure about the right component, so choosing "General" for now.
Comment 1 Kevin Funk 2013-05-09 19:08:11 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