All same files will be removed after tapping 'x' for once

RESOLVED FIXED

Status

Firefox OS
Gaia::Bugzilla Lite
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: cynthiatang, Assigned: robert.sajdok)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

45 bytes, text/x-github-pull-request
daleharvey
: review+
Details | Review | Splinter Review
(Reporter)

Description

2 years ago
Steps to Reproduce:
1. Navigate to the Bugzilla Lit website
2. Sign in with the test account credentials
3. Tap '+' to file a bug
4. Tap 'Add an Attachment' -> Tap 'Music' -> Select a file -> Tap 'Done'
5. Attach the same file again (Repeat Step 4)
6. Tap 'x' to remove one of attachments 

Actual Results: 
- There are 2 files with the same file name before tapping 'x' (Steps 5)
- All same files will be removed after tapping 'x' .


Build Number: eng.worker.20150619.224059
(Assignee)

Updated

2 years ago
Assignee: nobody → robert.sajdok
(Assignee)

Comment 1

2 years ago
Created attachment 8646904 [details] [review]
Proposed fix
Attachment #8646904 - Flags: review?(dale)
Comment on attachment 8646904 [details] [review]
Proposed fix

This looks great, thanks
Attachment #8646904 - Flags: review?(dale) → review+
https://github.com/mozilla-b2g/bzlite/commit/a6dac44f03e758a2531bd7eece0532db799205a1
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.