Bug 26046 - System.Web.Hosting.HostingEnvironment.MapPath(string) always returns null into new thread
Summary: System.Web.Hosting.HostingEnvironment.MapPath(string) always returns null int...
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System.Web (show other bugs)
Version: 3.10.0
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-01-14 21:46 UTC by Aleksej Solomatin
Modified: 2015-01-14 21:46 UTC (History)
1 user (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description Aleksej Solomatin 2015-01-14 21:46:24 UTC
System.Web.Hosting.HostingEnvironment.MapPath(string) always returns null into new thread.
It is because internally it uses HttpContext.Current property, which is always null into worker threads.
The bug appears, for example, in CMS Orchard 1.7.3 (it works on MS)

Note You need to log in before you can comment on or make changes to this bug.