Closed Bug 909484 Opened 12 years ago Closed 12 years ago

Don't list the same app multiple times in the collection

Categories

(Marketplace Graveyard :: Admin Tools, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: krupa.mozbugs, Assigned: basta)

References

()

Details

Attachments

(1 file)

Attached image screenshot.png
steps to reproduce: 1. Load https://marketplace-dev.allizom.org/curation/collection/55 2. Click on Add App to Collection 3. Search for Desk.com 4. Click on the app to add it to the collection 5. Repeat steps 2-4 multiple times expected behavior: We don't list the same app multiple times. observed behavior: Looks like the API returns the right status (400) with the response: [12:56:54.472] "[req] Response data: " "{"detail": "`app` already exists in collection."}" However, the app gets listed multiple times. See screenshot. Note that the app doesn't get saved multiple times
https://github.com/mozilla/rocketfuel/commit/a9144a64b6906068ef01b0c7627c4c90d5a141a8 krupa stahp filing bugs for things i haven't finished building yet
Assignee: nobody → mattbasta
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Basta, you don't have bugs on file to implement this. So Krupa files the bugs. That seems reasonable, yeah?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: