We have moved to GitHub Issues
Created by Mirko Matytschak 24 Aug 2014, 12:03:20 Updated by Sebastiaan Janssen 25 Aug 2014, 14:25:19
Is duplicated by: U4-5393
Relates to: U4-5387
Umbraco 7.1.5: Renaming a doctype shows an error. Nevertheless the rename has been performed.
Probably the same issue as U4-5387
Fixed in rev: 4cec6a3213e800a5720e79d48eb1b108e501ed84
Problem is because the doc type editor runs on an async (threadpool) thread so HttpContext.Current is null even though it's running in a web request. We had this issue with other things in the past too, the way it is solved is to access the HttpContext from the UmbracoContext since we have full control over the UmbracoContext singleton, when the code is executing on the async thread, we re-assign the UmbracoContext singleton with the original http context.
Assignee: Shannon Deminick
Backwards Compatible: True
Affected versions: 7.1.5
Due in version: 7.1.6