Closed
Bug 918124
Opened 11 years ago
Closed 11 years ago
Collection curators API suffers from caching issues
Categories
(Marketplace Graveyard :: API, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
2013-10-01
People
(Reporter: basta, Assigned: chuck)
References
Details
(Whiteboard: p=2)
Adding and removing curators returns a list that does not reflect the changes made by the request. I.e.: adding a curator returns a list of the collection's curators that does not include the most recently added curator.
Updated•11 years ago
|
Blocks: mkt-publishtool-api
Comment 2•11 years ago
|
||
how i this different from 917336?
Reporter | ||
Comment 3•11 years ago
|
||
(In reply to Allen Short [:ashort] from comment #2)
> how i this different from 917336?
This one is about collection curators, that one is about collections.
Reporter | ||
Comment 4•11 years ago
|
||
It seems that this is probably a caching issue. It doesn't seem to return an empty list anymore when you're adding the first curator, but the second curator you add has the issue. Also, the API-Pinned header is set to true.
Summary: Collection curators API suffers from pinning issues → Collection curators API suffers from caching issues
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → charmston
Status: NEW → ASSIGNED
Priority: -- → P2
Assignee | ||
Comment 5•11 years ago
|
||
This one was a caching issue; cache-machine doesn't appear to invalidate caches when an M2M field is modified.
https://github.com/mozilla/zamboni/compare/910ebd5bce02...bd274d3ca7b8
There are potential scale implications with this commit; since we're invalidating UserProfile objects, there are a large number of unrelated querysets that could also be invalidated as a result.
[qa-] because the rocketfuel client team is in the best place to validate this.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [qa-] p=2
Reporter | ||
Comment 6•11 years ago
|
||
I'm still seeing the issue on -dev, for both adding as well as removing curators to a collection. All of the requests show `API-Pinned: true`
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: [qa-] p=2 → p=2
Assignee | ||
Comment 7•11 years ago
|
||
Potential fix to a theory that it wasn't working due to a latency/race condition kind of issue:
https://github.com/mozilla/zamboni/compare/bd274d3ca7b8...ac80caca0bc9
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•11 years ago
|
Target Milestone: --- → 2013-10-01
You need to log in
before you can comment on or make changes to this bug.
Description
•