Bug 529944

Summary: YaST2 changes : to %3a when editing repository URL
Product: [openSUSE] openSUSE 11.1 Reporter: Forgotten User EGKOvZW2-J <forgotten_EGKOvZW2-J>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P3 - Medium    
Version: Final   
Target Milestone: ---   
Hardware: PC   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User EGKOvZW2-J 2009-08-11 10:43:37 UTC
User-Agent:       Opera/9.64 (X11; Linux x86_64; U; en) Presto/2.1.1

To reproduce:

1. Open YaST2 (Qt) -> Software Repositories.
2. Add a repository using "Specify URL...", for example http://download.opensuse.org/repositories/openSUSE:/Tools/openSUSE_11.1/ , name it "openSUSE:Tools". Make sure you didn't have that repository already. If you did, remove it first and restart YaST2.
3. Click Edit on openSUSE:Tools repository.
4. Click "Edit complete URL". The ':' character in the URL changes to '%3a', making it http://download.opensuse.org/repositories/openSUSE%3a/Tools/openSUSE_11.1/ .
5. Clicking OK duplicates the repository (one with :, the other with %3a). The new repository is non-removable (probably due to https://bugzilla.novell.com/show_bug.cgi?id=529937 ).

Reproducible: Always

Actual Results:  
Two almost identical repositories are added.

Expected Results:  
It shouldn't have converted : to %3a. Also, after converting it, it shouldn't have duplicated the repository I was editing.
Comment 1 Ladislav Slezák 2010-10-12 10:01:36 UTC
I have fixed the simple case - if URL is not changed then switching between "parts" and "complete" views keeps the URL also unchanged. The repo duplication has been already fixed in Factory (11.4).

Fixed in yast2-packager-2.20.2 (YaST:Head, Factory, 11.4)
Comment 2 Bernhard Wiedemann 2016-04-15 09:47:11 UTC
This is an autogenerated message for OBS integration:
This bug (529944) was mentioned in
https://build.opensuse.org/request/show/50373 Factory / yast2-packager