Closed Bug 1118037 Opened 9 years ago Closed 5 years ago

Don't create duplicates for metadata fields in API.

Categories

(support.mozilla.org :: General, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mythmon, Unassigned)

References

Details

(Whiteboard: u=api c=general p=2 s=)

"metadata fields" is here defined as one-to-many fields like question metadata and user settings. Currently these APIs create duplicates when calling set_ operations on them. This is a problem.

I've spent a lot of time hitting my head against this particular kind of field. I might need to go with another approach here.
Priority: -- → P2
Assignee: nobody → mcooper
Blocks: 1074989
No longer blocks: 1113056
Blocks: 1061548
No longer blocks: 1118688
I suppose this bug will fix settings and metadata in one swoop?
Right. They are so similar, I'm trying to keep them in sync. I'll probably try and figure out how to combine this into one base class instead of having two duplicate classes.
I didn't get to this in time. Moving to the sprint after next.
Whiteboard: u=api c=general p=2 s=2015.1 → u=api c=general p=2 s=2015.3
Swapping this for Bug 1123420
Whiteboard: u=api c=general p=2 s=2015.3 → u=api c=general p=2 s=2015.4
Whiteboard: u=api c=general p=2 s=2015.4 → u=api c=general p=2 s=
Depends on: 1139114
Assignee: mcooper → nobody
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.