We're updating the issue view to help you get more done. 

After task for wordcount fix needed

Description

Originally reported on Google Code with ID 2381
What archive revision are you testing on?
otwarchive test-0.8.7.1

has been fixed for most languages using non-Roman character sets, such as Russian, but an after task is needed to adjust the word counts for existing works.

How to test:
Find a work with incorrect word counts (e.g. a Japanese work posted before AO3-2046), check that its word count gets corrected after we run:

1 bundle exec rake After:reset_word_counts[ja]

Word counts can also be deliberately broken like so:

1 2 chapter.update_column(:word_count, 9001) work.update_column(:word_count, 9001)

After deployment:

The task needs to be run for the following languages:

  • Chinese (zh)

  • Japanese (ja)

  • Russian (ru)

  • Thai (th)

  • (more TBD)

Environment

None

Status

Assignee

redsummernight

Reporter

mumble

Roadmap

Internationalization
Works

Priority

Medium

Affects versions

None

Fix versions

Components

BackEnd

Difficulty

None

Required Access Level

None

Milestone

Internal 0.9

Google Code Issue ID

2381