The field CheckboxSubmission in apport data is not processed

Bug #530556 reported by Abel Deuring
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Invalid
Low
Unassigned

Bug Description

We have tables to link bugs and HWDB submissions; Apport reports the necessary data -- but we simply do not use it at present. See also bug 530380 for a possible pitfall

We should populate the table hwsubmissionbug with this data

Tags: lp-bugs
Abel Deuring (adeuring)
summary: - The field CheckboxSubmission in apport data is not proseed
+ The field CheckboxSubmission in apport data is not processed
description: updated
Revision history for this message
Graham Binns (gmb) wrote : Re: [Bug 530556] [NEW] The field CheckboxSubmission in apport data is not proseed

On 2 March 2010 09:13, Abel Deuring <email address hidden> wrote:
> Public bug reported:
>
> We have tables to link bugs and HWDB submissions; Apport reports the
> necessary data -- but we simply do not use it at present. See also bug
> 530380 for a possible pitfall
>

To clarify, this is something that we've never done, right, not
something that's now missing after the story-blob-processing work?

Revision history for this message
Abel Deuring (adeuring) wrote : Re: [Bug 530556] [NEW] The field CheckboxSubmission in apport data is not proseed

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02.03.2010 12:00, Graham Binns wrote:
> On 2 March 2010 09:13, Abel Deuring <email address hidden> wrote:
>> Public bug reported:
>>
>> We have tables to link bugs and HWDB submissions; Apport reports the
>> necessary data -- but we simply do not use it at present. See also bug
>> 530380 for a possible pitfall
>>
>
> To clarify, this is something that we've never done, right, not
> something that's now missing after the story-blob-processing work?
>

No that's a completely independent bug -- we simply forgot the linking...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFLjQH0ekBPhm8NrtARAgqiAJ95EuXweLAzn4wVEXckWe4u70QTSwCffi+Z
CQEEdqGMNdHor7Ues4Y1+OU=
=09kb
-----END PGP SIGNATURE-----

Revision history for this message
Brian Murray (brian-murray) wrote :

I thought bug 424382 was about using HWDB-Submission for this during the post. The submission id just happens to also appear in the bug description and during the +filebug blob post.

Revision history for this message
Abel Deuring (adeuring) wrote :

Yes, and now I see that I was too stupid to find the relevant code...

lp.bug.browser.bugtarget.FileBugViewBase.submit_bug_action does indeed creates links for HWDB submissions mentioned in the apport data -- but:

In bug # 530380 you show this example of apport data:

ProblemType: Bug
Architecture: amd64
CheckboxSubmission: fee5e196cb921cbd36888f428b38b488
CheckboxSystem: 2a6f54df59af338184485e85cbcf0d32
Date: Mon Mar 1 15:03:33 2010
DistroRelease: Ubuntu 10.04
Package: checkbox 0.8.6
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.32-13.18-generic
SourcePackage: checkbox
Uname: Linux 2.6.32-13-generic x86_64

So, we have a line "CheckboxSubmission:...", while Launchpad expects a line "HWDB-Submission:..."

Revision history for this message
Brian Murray (brian-murray) wrote :

The CheckboxSubmission is there just for record keeping - apport is doing the right thing and using HWDB-Submission in the header.

        # if we have checkbox submission key, link it to the bug; keep text
        # reference until the link is shown in Launchpad's UI
        if report.has_key('CheckboxSubmission'):
            hdr['HWDB-Submission'] = report['CheckboxSubmission']

Revision history for this message
Deryck Hodge (deryck) wrote :

Abel, would you consider this an easy bug to fix? For you?

Changed in malone:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Brian Murray (brian-murray) wrote :

I really don't think any work is required here.

Revision history for this message
Abel Deuring (adeuring) wrote :

yes, as Brian wrote, there is nothing to -- I was simply confused when I filed this bug...

Changed in malone:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.