WebAdministrationDsc
WebAdministrationDsc copied to clipboard
xWebApplication: Fails when creating a Web Application as child under another Web Application
Hi! Related with xWebApplication regression in #220. PhysicalPath issue. #222 , I think that the code inside "Update Physical Path" (and "Update AppPool" ) it's not working very well when you have a Web Application inside a WebApplication, example:
WepAppPrincipal
- WebChild1
- WebChild2
I was testing and modifying the code inside and looks like that a checking for NULL it's missing??? (what do you think???)
this part of code: if (($PSBoundParameters.ContainsKey('PhysicalPath') -and ` $webApplication.physicalPath -ne $PhysicalPath) here I add: -and ($webApplication.physicalPath -ne $null) )
Because if I not checkin for null giveme the message: Argument Filter is null blablablabla.
Any one else having the same issue? Thanks. Emiliano.
I get the same issue, though it's for a WebApplication being created inside a VirtualDirectory.
I have labeled this as a bug and help wanted to that someone in the community can run with it.