Issue 3110 wordcount #672

Merged
merged 2 commits into from Jun 6, 2012

Conversation

Projects
None yet
2 participants
@CristinaRO
Member

CristinaRO commented Jun 4, 2012

In the work model: post_first_chapter needs to happen before set_word_count, and changing the chapter's posted state needs to be saved.

In the chapter model: set_word_count was returning nil if the chapter wasn't a new_record or the content hadn't changed - needed because of the first change, or it moves the nil problem to the PwP workflow :)

http://code.google.com/p/otwarchive/issues/detail?id=3110

CristinaRO added some commits Jun 4, 2012

Issue 3110: word count was nil after preview -> post workflow
In the work model: post_first_chapter needs to happen before
set_word_count, and changing the chapter's posted state needs to be
saved.

In the chapter model: set_word_count was returning nil if the chapter
wasn't a new_record or the content hadn't changed - needed because of
the first change, or it moves the nil problem to the PwP workflow :)

elzj added a commit that referenced this pull request Jun 6, 2012

@elzj elzj merged commit ff0164e into otwcode:master Jun 6, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment