Bug 310978 - Wrong SVN repository URL > wizard still allows completion
Summary: Wrong SVN repository URL > wizard still allows completion
Status: RESOLVED FIXED
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: subversion (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: 273759
Blocks: 310976
  Show dependency treegraph
 
Reported: 2012-12-01 13:15 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: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