2
Vote

Invalid theme name causes invalid masterpage path

description

If you specify an invalid (non-existent) theme name in the XML configuration file then an invalid default path is specified when using virtual directories. For example:
 
<?xml version="1.0" encoding="utf-8" ?>
<Configuration id="default" displayName="Default Configuration" theme="nonexistenttheme">
<Modules>
<Module name="modone"/>
<Module name="modtwo"/>
</Modules>
</Configuration>
 
.. results in ..
 
YSOD: "The file '/myVirDir/myVirDir/themes/default/Client.Master' does not exist."

comments