debdiff does not look like a patch
Bug #538219 reported by
David D Lowe
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Unassigned |
Bug Description
I attached a debdiff patch to a bug report. I was redirected to a page asking me:
Confirm attachment type of “imagemagick_
This file does not look like a patch. What is a patch?
Is this file a patch:
yes
no
Fortunately, I could click yes and continue normally.
The bug in question is bug #528962.
Launchpad should detect that a debdiff counts as a valid patch. I've attached the debdiff that triggered this error.
Related branches
lp:~kfogel/launchpad/538219-debdiff-is-patch-too
Merged
into
lp:launchpad
- Abel Deuring (community): Approve (code)
-
Diff: 107 lines (+64/-2)4 files modifiedlib/lp/bugs/browser/bugattachment.py (+11/-1)
lib/lp/bugs/browser/bugmessage.py (+1/-1)
lib/lp/bugs/stories/bugattachments/10-add-bug-attachment.txt (+49/-0)
lib/lp/bugs/stories/bugattachments/20-edit-bug-attachment.txt (+3/-0)
Changed in malone: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in malone: | |
assignee: | nobody → Karl Fogel (kfogel) |
status: | Triaged → In Progress |
milestone: | none → 10.03 |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in malone: | |
assignee: | Karl Fogel (kfogel) → nobody |
Changed in malone: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Maybe bugs doesn't like the .debdiff extension?