Renaming a series doesn't update the work meta header and blurbs

Description

Originally reported on Google Code with ID 3855
What archive revision are you testing on?
0.9.11

What steps will reproduce the problem?
1. Create a work as part of a series.
2. Look at the series name in the work's meta box, or the work's blurb in any listings.
3. Rename the series.
4. Look again at the series name in the work's meta box, or the work's blurb in any listings.

What is the expected output? What do you see instead?
I expect the new name of the series. I see the old one.

The culprit is, of course, caching; the bit that displays the work series info, show_series_data(@work),
is inside a caching block.
https://github.com/otwcode/otwarchive/blob/f3a630e9ac09f0091183b6168b37bfe2f37fd63c/app/views/works/_meta.html.erb#L47

Activity

Show:
lady.oscar.ao3
August 22, 2015, 9:26 PM
  • *Labels added*: Keep-Meeting

Sarken
January 6, 2020, 4:18 AM
  • Had a work in a series, “Series No. 5”

  • Viewed my dashboard and my works page, which showed the blurb for that work, and viewed the work itself, ensuring they’d be cached

  • Renamed “Series No. 5” to “Series Number 5”

  • The meta on the work itself was updated, and the blurb was updated on the series page (/series/10) and my dashboard (/users/testy), but it took a couple minutes for me to see the changed blurb on my works page (users/testy/works).

I think it’s probably okay despite the slight delay.

 

james_
January 18, 2020, 11:39 AM

 

( Instantly )

Looks good to me

DeployedToBeta

Assignee

redsummernight

Reporter

enigel lj

Roadmap

Series
Works

Priority

Medium

Affects versions

None

Fix versions

Components

BackEnd
Caching

Difficulty

Medium

Milestone

Internal 0.9

Google Code Issue ID

3855
Configure