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.
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
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.