plone/plone.app.discussion — pull request #19 by thet (2012-10-31 21:50:30+00:00)
Title: apply published state for migrations of broken comments

For migrations of comments without a valid old_status, apply the 'published' state.

i have a situation, where in line 119 of plone.app.event.browser.migration returns None:
```old_status = workflow.getStatusOf(oldchain, reply)```

since i had the one_state_publication workflow applied, i solved the issue by applying the published state to those comments.

i don't know if this is acceptable as default behavior, so please review it.
if you need more information obout the comments in question, i'm happy to help.