Cannot upload attachments: 'title' error is shown
Bug #1891609 reported by
Pierre Equoy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bugit |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When trying to file a bug with qabro, it sometimes fails with just this word in the error window:
'title'
The issue itself is created in Launchpad, but the attachments are not processed nor uploaded.
It turns out this is because qabro uses the 'title' attribute from the snaps installed, but some of them don't have such an attribute. However, they all have a 'name' attribute, so we should use this instead.
As a side note, the method currently used to get the snap info is obsolete and should be replaced by using Snapd Gi, as explained in comments of lp:1887903.
Related branches
~pieq/bugit/+git/qabro:fix1891609-snap-attribute
- Sylvain Pineau (community): Approve
-
Diff: 24 lines (+2/-2)2 files modifiedqabro/__version__.py (+1/-1)
qabro/bug_assistant.py (+1/-1)
description: | updated |
Changed in qabro: | |
milestone: | none → 0.14 |
status: | New → Fix Committed |
Changed in qabro: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.