leekelleher/umbraco-ditto — pull request #15 by leekelleher (2014-12-04 14:06:18+00:00)
Title: Workaround null-reference exceptions from non-frontend calls

Added null-reference check for `UmbracoContext.PublishedContentRequest`.

This applies to when the model-factory is called from the back-office context (e.g. a Save & Publish call).
Fixes #14 :suspect: