Bug 740414

Summary: PackageKit-zif swaps URL and title for links in update information
Product: [Fedora] Fedora Reporter: Kevin Kofler <kevin>
Component: PackageKitAssignee: Richard Hughes <hughsient>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: hughsient, jonathan, rvitale, smparrish
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-23 10:26:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Kevin Kofler 2011-09-21 23:32:38 UTC
Description of problem:
In the update information, PackageKit-zif sends title;URL; where URL;title; is expected (by both Apper/KPackageKit and gnome-packagekit, and it's also what the yum backend sends).

Version-Release number of selected component (if applicable):
PackageKit-zif-0.6.17-1.fc15.libzif.so.3.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Look at the update information in any PackageKit-based GUI updater.
2. Try to click on the links.
  
Actual results:
The GUI attempts to use the title as a URL.

Expected results:
Valid URL.

Additional info:
See also this mailing list thread:
http://lists.freedesktop.org/archives/packagekit/2011-September/006417.html

Comment 1 Richard Hughes 2011-09-22 08:01:59 UTC
(In reply to comment #0)
> Description of problem:
> In the update information, PackageKit-zif sends title;URL; where URL;title; is
> expected (by both Apper/KPackageKit and gnome-packagekit, and it's also what
> the yum backend sends).

Thanks for debugging this. Could you please push the trivial fix to PackageKit git master. I can't remember if you have commit, but if you don't just let me know what your gitorious username is. Thanks.

Richard.

Comment 2 Kevin Kofler 2011-09-23 01:19:27 UTC
I don't have commit rights yet, in fact I didn't even have a Gitorious account. I registered one now. My Gitorious username is kkofler.

Comment 3 Richard Hughes 2011-09-23 07:56:08 UTC
I've added you as a committer to https://gitorious.org/packagekit/packagekit

Thanks!

Comment 4 Kevin Kofler 2011-09-23 09:06:00 UTC
Fix committed and pushed to master. But shouldn't we backport this kind of fixes to 0.6.x too?

Comment 5 Richard Hughes 2011-09-23 10:26:19 UTC
(In reply to comment #4)
> Fix committed and pushed to master. But shouldn't we backport this kind of
> fixes to 0.6.x too?

Yup, I normally cherry-pick the sane commits into 0_6_X a few days before the stable release, but if you're feeling really keen you can do this too. Thanks.