apport-cli -c incorrectly reprocesses hooks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
Binary package hint: apport
apport seems to re-collect problem information instead of loading it from the crash file in -c. In my case, I was reporting a X bug and needed to collect details during a broken session ("save for later") and then upload it during a working session. However, -c seems to have re-collected all the logs, etc (see bug 394492).
I would have expected no "Collecting problem information" phase, and a prompt, as seen with --file-bug so I could View the report before uploading it.
Perhaps there needs to be a --continue option instead of a --crash-file, since the "save for later" data is not strictly a crash file (it has already had collected information attached to it).
$ apport-cli -c ~/apport.JlWcWt.txt
*** Collecting problem information
The collected information can be sent to the developers to improve the
application. This might take a few minutes.
......
*** Uploading problem information
The collected information is being sent to the bug tracking system.
This might take a few minutes.
ProblemType: Bug
Architecture: amd64
Date: Wed Jul 1 14:50:06 2009
DistroRelease: Ubuntu 9.10
Package: apport 1.5-0ubuntu2
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: apport
Uname: Linux 2.6.30-10-generic x86_64
I agree, -c should check if the report already has a Package: field, and not re-collect information in this case.