Closed Bug 984934 Opened 11 years ago Closed 11 years ago

Make it impossible to have nameless Collections in the API

Categories

(Marketplace Graveyard :: API, defect, P3)

Avenir
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: chuck, Assigned: ahalliga)

Details

This collection appears to have been created without a name: https://marketplace-dev.allizom.org/curation/collection/robs-test-collection https://marketplace-dev.allizom.org/api/v1/rocketfuel/collections/robs-test-collection This shouldn't be possible; it appears that validation on API responses is failing somewhere.
Priority: -- → P4
I'm guessing we just had an error when saving the translation - since it has a slug, it probably had a valid name submitted, but some db error prevented the translation to be saved.
I still think my theory is valid, but I checked by disabling all safeguards in rocketfuel client and I was able to change the name back to an empty string, so definitely something missing in the API code.
(In reply to Mathieu Pillard [:mat] from comment #2) > I still think my theory is valid, but I checked by disabling all safeguards > in rocketfuel client and I was able to change the name back to an empty > string, so definitely something missing in the API code. Is there an API bug filed for this?
This very bug :)
Assignee: nobody → mpillard
OS: Mac OS X → All
Priority: P4 → P3
Hardware: x86 → All
Summary: Collection created without name → Make it impossible to have nameless Collections in the API
Assignee: mpillard → nobody
Assignee: nobody → ahalliga
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.