Closed Bug 1428274 Opened 6 years ago Closed 6 years ago

Activity Stream does not update content on 204

Categories

(Firefox :: Messaging System, defect, P1)

defect

Tracking

()

RESOLVED FIXED
Firefox 62
Iteration:
62.2 - Jun 4
Tracking Status
firefox59 --- wontfix
firefox62 --- fixed

People

(Reporter: giorgos, Assigned: k88hudson)

References

(Blocks 1 open bug)

Details

(Whiteboard: [has-pr])

Attachments

(1 file)

It appears that AS will not update content when the response from the snippets service is 204 No-Content, despite accepting the response and saving the last-update-time. This results to older content being displayed, if available.

A work-around [0] has been placed on the snippets service to return 200-OK with empty content instead, so this is not high priority but I'd like to see it fixed.

Maybe a 205-Reset Content is more appropriate, to reset == set snippets content to default which is empty.


[0] https://github.com/mozmeao/snippets-service/pull/337
Assignee: nobody → khudson
Iteration: --- → 1.27
Priority: -- → P3
Iteration: 1.27 → 60.1 - Jan 29
This should be fixed as part of the switch to message center bug 1432588, so it would be good to verify that this gets fixed then.
Iteration: 60.1 - Jan 29 → 61.1 - Mar 26
Depends on: 1432588
Status: NEW → ASSIGNED
Priority: P3 → P2
Iteration: 61.1 - Mar 26 → ---
Iteration: --- → 61.2 - Apr 9
Iteration: 61.2 - Apr 9 → ---
Iteration: --- → 62.1 - May 21
Priority: P2 → P3
Iteration: 62.1 - May 21 → 62.2 - Jun 4
Blocks: 1432588
No longer depends on: 1432588
Iteration: 62.2 - Jun 4 → 63.1 - July 9
Iteration: 63.1 - July 9 → 62.2 - Jun 4
Priority: P3 → P1
Whiteboard: [has-pr]
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Blocks: 1465172
For the record, a stray commit message was left on bug 428274 due to a typo. Pasting it here for completeness:

> Commit pushed to master at https://github.com/mozilla/activity-stream
> 
> https://github.com/mozilla/activity-stream/commit/
> a6958e96fd93397d4953129b33ba2a93ec7b15bb
> Merge pull request #4166 from k88hudson/bug428274
> 
> Bug 1428274 - AS Router should handle 204, 302, 500 codes approrpiately
Component: Activity Streams: Newtab → Messaging System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: