Closed
Bug 870429
Opened 12 years ago
Closed 12 years ago
Remove locales public field from Make model
Categories
(Webmaker Graveyard :: MakeAPI, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: humph, Assigned: igoryen)
Details
Attachments
(3 files)
We seem to have both locale and locales in our Make model (make.js):
Make.publicFields = [ "url", "contentType", "locale", "locales",
"title", "description", "author",
"published", "tags", "thumbnail", "email", "remixedFrom" ];
Only locale should be there.
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → igor.yentaltsev
| Reporter | ||
Updated•12 years ago
|
Status: NEW → ASSIGNED
| Reporter | ||
Comment 1•12 years ago
|
||
Igor, the code in question is here:
https://github.com/mozilla/MakeAPI/blob/master/lib/models/make.js#L125
Comment 2•12 years ago
|
||
I think the original aim of this was "locale" was the locale of this make, the "locales" was a list of other makes translated from this one. Either way, we're not using it and should probably be removed for now.
| Assignee | ||
Comment 3•12 years ago
|
||
Attachment #757540 -
Flags: review?(kieran.sedgwick)
| Assignee | ||
Comment 4•12 years ago
|
||
Attachment #757578 -
Flags: review?(kieran.sedgwick)
Comment 5•12 years ago
|
||
Comment on attachment 757578 [details] [review]
https://github.com/mozilla/MakeAPI/pull/72
Rebase into 1 commit, and then you have the r+
Attachment #757578 -
Flags: review?(kieran.sedgwick) → review-
| Assignee | ||
Comment 6•12 years ago
|
||
Attachment #758031 -
Flags: review?(kieran.sedgwick)
Comment 7•12 years ago
|
||
Comment on attachment 758031 [details] [review]
https://github.com/mozilla/MakeAPI/pull/72
Looks good, I will merge.
Attachment #758031 -
Flags: review?(kieran.sedgwick) → review+
Comment 8•12 years ago
|
||
Commit pushed to master at https://github.com/mozilla/MakeAPI
https://github.com/mozilla/MakeAPI/commit/d1e0ae94c5b97ae2963d4852274ad19d65016381
Merge pull request #72 from igoryen/bug870429
Bug 870429 - Remove locales public field from Make model
| Assignee | ||
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Attachment #757540 -
Flags: review?(kieran.sedgwick)
Updated•12 years ago
|
Attachment mime type: text/plain text/plain text/plain → text/x-github-pull-request text/x-github-pull-request text/x-github-pull-request
You need to log in
before you can comment on or make changes to this bug.
Description
•