Bug 386384

Summary: yast2 inst_source not possible to correct input error w/o leaving Repository Name dialog
Product: [openSUSE] openSUSE 11.0 Reporter: Casual J. Programmer <casualprogrammer>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: michalsrb
Version: Factory   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.0   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Screenshot of situation
yast2logs as created by yast2 sw_single
Proposed patch for yast2-packager

Description Casual J. Programmer 2008-05-03 10:09:46 UTC
When adding a source to yast2 inst_source using "add/specify URL" and an leading space is detected, a message box appears, stating: "Unable to create repository from URL ' http://xxxx' Invalid Url scheme ' http' Try again ?

Clicking "yes" blanks the http entry field and lets you start over. Only, no matter what you enter, the above error message keeps reappearing.

The only choice is clicking "no" and starting over from "add"

Notebook: Fujitsu Siemens Amilo Si 1520
Graphics: Fujitsu Siemens Mobile 945GM/GMS/GME, 943/940GML Express
Monitor:  QUANTADISPLAY LCD Monitor 1280x800@60Hz
Wireless: Intel PRO/Wireless 3945ABG Network Connection
Sound:    82801G (ICH7 Family) High Definition Audio Controller
Desktop:  package gnome2-SuSE is not installed
YaST GUI: yast2-qt-2.16.44-2
OS:       openSUSE 11.0 (i586) Beta2 VERSION = 11.0
Kernel:   2.6.25-24-pae

rpm -qa | grep yast2 | sort

yast2-2.16.60-2
Comment 1 Casual J. Programmer 2008-05-03 10:10:16 UTC
Created attachment 212088 [details]
Screenshot of situation
Comment 2 Casual J. Programmer 2008-05-03 10:12:54 UTC
Created attachment 212089 [details]
yast2logs as created by yast2 sw_single
Comment 3 Ladislav Slezák 2008-05-23 10:12:00 UTC
The problem is that yast internally switches into HTTP dialog, but the window is not refreshed.

It turned out that the fix is quite large, for that reason I'll fix that in 11.1 (it's too late for 11.0).
Comment 4 Ladislav Slezák 2008-05-23 10:14:27 UTC
Created attachment 217740 [details]
Proposed patch for yast2-packager
Comment 5 Ladislav Slezák 2008-06-04 15:42:50 UTC
The patch has been committed to yast SVN trunk repository (for 11.1, yast2-packager-2.17.0)
Comment 6 Ladislav Slezák 2008-07-23 11:36:13 UTC
*** Bug 407530 has been marked as a duplicate of this bug. ***