Closed Bug 1061423 Opened 10 years ago Closed 5 years ago

Attachment is lost if pasting text attachment without a description

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 6.0

People

(Reporter: jmcdonal, Unassigned)

Details

If you attempt to add a text attachment while entering a new bug, but forget to enter the attachment's description, the bug is created without complaint but the attachment is not saved.

Compare this to entering a new bug with a file attachment, where an empty description for the attachment causes Bugzilla to display an error message under the Description field and to refuse to submit the form.

Steps to reproduce:
1. Visit https://landfill.bugzilla.org/bugzilla-4.4-branch/enter_bug.cgi?product=FoodReplicator
2. Select a random component and enter something in the Summary field.
3. Click the "Add an Attachment" button.
4. Click the "paste text as an attachment" link and enter some random text into the text box that appears.
5. Leave the attachment's description field blank and click the Submit Bug button.

Actual result:
Bug is created, but has no attachment.

Expected result:
Same behaviour as creating a file attachment without a description, i.e. error message is displayed under Descrption field and the form is not submitted.

The attachment uploader has been re-implemented, and this is no longer the case.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 6.0
You need to log in before you can comment on or make changes to this bug.