Opened 12 years ago
Closed 12 years ago
#6127 closed defect (bug) (fixed)
bp_activity_sitewide_front cache should be cleared when an activity is updated
| Reported by: | imath | Owned by: | imath |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.2 |
| Component: | Activity | Version: | |
| Severity: | normal | Keywords: | has-patch 2nd-opinion |
| Cc: |
Description
While working on unit tests for #6119, i've noticed that when an activity was updated and this activity was on the first page of the activity list, i was getting the activity unchanged.
bp_activity_sitewide_front cache is cleared when an activity is deleted, marked as ham/spam but not when updated. I think we should also clear it in case an activity has been updated.
Attachments (2)
Change History (6)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Agree. I am not too worried about the unit test but if it is quick to build one, it would be nice to have it. I suspect we don't have unit tests for all the other instances of this cache clearing that you listed in the ticket description; i'm not worried about those for now.