Another self solving problem - the parent ID of the content I was trying to publish was not found. When creating the content with ContentService.Create(), you must ensure the parent ID is set correctly. Ispublishable checks the parent's publishability.
NullReference Exception in ContentService.IsPublishable
I'm receiving a strange exception from within Umbraco.Core:
After calling:
ContentService.SaveAndPublish(profile, user.Id);
The below exception happens. This can only be replicated in 1 of 3 development environments.
Can anyone shed some light on possible causes?
Another self solving problem - the parent ID of the content I was trying to publish was not found. When creating the content with ContentService.Create(), you must ensure the parent ID is set correctly. Ispublishable checks the parent's publishability.
is working on a reply...