Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.Functional.WebSettingsTests.WebWebSettingsTest
Outcome:
Run at:
8/1/2020 6:41:06 PM
Duration:
00:00:01
Error message:
Test method OfficeDevPnP.Core.Tests.Framework.Functional.WebSettingsTests.WebWebSettingsTest threw exception: Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException: The property or field 'AlternateCssUrl' has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.
Stacktrace:
at at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.SiteToTemplateConversion.ApplyRemoteTemplate(Web web, ProvisioningTemplate template, ProvisioningTemplateApplyingInformation provisioningInfo, Boolean calledFromHierarchy, TokenParser tokenParser) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\SiteToTemplateConversion.cs:line 487 at Microsoft.SharePoint.Client.WebExtensions.ApplyProvisioningTemplate(Web web, ProvisioningTemplate template, ProvisioningTemplateApplyingInformation applyingInformation) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\WebExtensions.cs:line 1178 at OfficeDevPnP.Core.Tests.Framework.Functional.Implementation.ImplementationBase.TestProvisioningTemplate(ClientContext cc, String templateName, Handlers handlersToProcess, ProvisioningTemplateApplyingInformation ptai, ProvisioningTemplateCreationInformation ptci) in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\Functional\Implementation\ImplementationBase.cs:line 72 at OfficeDevPnP.Core.Tests.Framework.Functional.Implementation.WebSettingsImplementation.WebWebSettings(String siteCollectionUrl, String url) in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\Functional\Implementation\WebSettingsImplementation.cs:line 42 at OfficeDevPnP.Core.Tests.Framework.Functional.WebSettingsTests.WebWebSettingsTest() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\Functional\WebSettingsTests.cs:line 76
Console output:
    Applying template - 1/2 - Initializing engine
Applying template - 2/2 - Files
Applying template - 1/2 - Initializing engine
Applying template - 2/2 - Web Settings
Type = Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException
TraceCorrelationId = 0bd86b9f-a775-8012-70d0-2c736baa1225
Message = The property or field 'AlternateCssUrl' has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.
Source = OfficeDevPnP.Core
TargetSite = Void ApplyRemoteTemplate(Microsoft.SharePoint.Client.Web, OfficeDevPnP.Core.Framework.Provisioning.Model.ProvisioningTemplate, OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ProvisioningTemplateApplyingInformation, Boolean, OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.TokenParser)
StackTrace =    at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.SiteToTemplateConversion.ApplyRemoteTemplate(Web web, ProvisioningTemplate template, ProvisioningTemplateApplyingInformation provisioningInfo, Boolean calledFromHierarchy, TokenParser tokenParser) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\SiteToTemplateConversion.cs:line 487
   at Microsoft.SharePoint.Client.WebExtensions.ApplyProvisioningTemplate(Web web, ProvisioningTemplate template, ProvisioningTemplateApplyingInformation applyingInformation) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\WebExtensions.cs:line 1178
   at OfficeDevPnP.Core.Tests.Framework.Functional.Implementation.ImplementationBase.TestProvisioningTemplate(ClientContext cc, String templateName, Handlers handlersToProcess, ProvisioningTemplateApplyingInformation ptai, ProvisioningTemplateCreationInformation ptci) in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\Functional\Implementation\ImplementationBase.cs:line 42
HResult = -2146233079



Debug Trace:
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.1056	[OfficeDevPnP.Core]	[0]	[Information]	File websettings_files.xml retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.1681	[Provisioning]	[12]	[Debug]	Code execution scope started	0ms	742575c2-f162-49b6-9b6a-eba25eead668
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.1681	[Provisioning]	[12]	[Information]	ProgressDelegate registered	0ms	742575c2-f162-49b6-9b6a-eba25eead668
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.1993	[ProvisioningTemplate WebHook Call]	[12]	[Debug]	Code execution scope started	0ms	742575c2-f162-49b6-9b6a-eba25eead668
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.1993	[ProvisioningTemplate WebHook Call]	[12]	[Debug]	Code execution scope ended	0ms	742575c2-f162-49b6-9b6a-eba25eead668
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.1993	[ProvisioningTemplate WebHook Call]	[12]	[Debug]	Code execution scope started	0ms	742575c2-f162-49b6-9b6a-eba25eead668
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.1993	[ProvisioningTemplate WebHook Call]	[12]	[Debug]	Code execution scope ended	0ms	742575c2-f162-49b6-9b6a-eba25eead668
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.1993	[Files]	[12]	[Debug]	Code execution scope started	0ms	742575c2-f162-49b6-9b6a-eba25eead668
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.3243	[Files]	[12]	[Debug]	Uploading and overwriting existing file garagelogo.png	123ms	742575c2-f162-49b6-9b6a-eba25eead668
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.3712	[OfficeDevPnP.Core]	[0]	[Information]	File garagelogo.png retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.3712	[OfficeDevPnP.Core]	[0]	[Debug]	Creating file info with Url 'garagelogo.png'	0ms	
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.6212	[Files]	[12]	[Debug]	Uploading and overwriting existing file garage.css	420ms	742575c2-f162-49b6-9b6a-eba25eead668
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.6680	[OfficeDevPnP.Core]	[0]	[Information]	File garage.css retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.6680	[OfficeDevPnP.Core]	[0]	[Debug]	Creating file info with Url 'garage.css'	0ms	
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.8087	[Files]	[12]	[Debug]	Code execution scope ended	602ms	742575c2-f162-49b6-9b6a-eba25eead668
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.8087	[ProvisioningTemplate WebHook Call]	[12]	[Debug]	Code execution scope started	0ms	742575c2-f162-49b6-9b6a-eba25eead668
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.8087	[ProvisioningTemplate WebHook Call]	[12]	[Debug]	Code execution scope ended	0ms	742575c2-f162-49b6-9b6a-eba25eead668
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.8087	[ProvisioningTemplate WebHook Call]	[12]	[Debug]	Code execution scope started	0ms	742575c2-f162-49b6-9b6a-eba25eead668
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.8087	[ProvisioningTemplate WebHook Call]	[12]	[Debug]	Code execution scope ended	0ms	742575c2-f162-49b6-9b6a-eba25eead668
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.8087	[Persist Template Info]	[12]	[Debug]	Code execution scope started	0ms	742575c2-f162-49b6-9b6a-eba25eead668
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.9493	[Persist Template Info]	[12]	[Debug]	Code execution scope ended	137ms	742575c2-f162-49b6-9b6a-eba25eead668
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.9493	[ProvisioningTemplate WebHook Call]	[12]	[Debug]	Code execution scope started	0ms	742575c2-f162-49b6-9b6a-eba25eead668
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.9493	[ProvisioningTemplate WebHook Call]	[12]	[Debug]	Code execution scope ended	0ms	742575c2-f162-49b6-9b6a-eba25eead668
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.9649	[ProvisioningTemplate WebHook Call]	[12]	[Debug]	Code execution scope started	0ms	742575c2-f162-49b6-9b6a-eba25eead668
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.9649	[ProvisioningTemplate WebHook Call]	[12]	[Debug]	Code execution scope ended	0ms	742575c2-f162-49b6-9b6a-eba25eead668
vstest.console.exe Information: 0 : 2020-08-01 18:41:06.9649	[Provisioning]	[12]	[Debug]	Code execution scope ended	793ms	742575c2-f162-49b6-9b6a-eba25eead668
vstest.console.exe Information: 0 : 2020-08-01 18:41:07.1680	[Extraction]	[12]	[Debug]	Code execution scope started	0ms	3f14c8d2-5cdf-4806-8b6e-29d640b9b9f4
vstest.console.exe Information: 0 : 2020-08-01 18:41:07.1680	[Extraction]	[12]	[Debug]	Base template available: STS0template	0ms	3f14c8d2-5cdf-4806-8b6e-29d640b9b9f4
vstest.console.exe Information: 0 : 2020-08-01 18:41:07.1680	[Extraction]	[12]	[Debug]	ProgressDelegate registered	0ms	3f14c8d2-5cdf-4806-8b6e-29d640b9b9f4
vstest.console.exe Information: 0 : 2020-08-01 18:41:07.1680	[Retrieve Template Info]	[12]	[Debug]	Code execution scope started	0ms	3f14c8d2-5cdf-4806-8b6e-29d640b9b9f4
vstest.console.exe Information: 0 : 2020-08-01 18:41:07.2462	[Retrieve Template Info]	[12]	[Debug]	Code execution scope ended	76ms	3f14c8d2-5cdf-4806-8b6e-29d640b9b9f4
vstest.console.exe Information: 0 : 2020-08-01 18:41:07.2462	[Extraction]	[12]	[Debug]	Code execution scope ended	77ms	3f14c8d2-5cdf-4806-8b6e-29d640b9b9f4
vstest.console.exe Information: 0 : 2020-08-01 18:41:07.2618	[OfficeDevPnP.Core]	[0]	[Information]	File websettings_add.xml retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2020-08-01 18:41:07.3243	[Provisioning]	[12]	[Debug]	Code execution scope started	0ms	38394931-e557-4933-a24f-d65d6815b0f4
vstest.console.exe Information: 0 : 2020-08-01 18:41:07.3243	[Provisioning]	[12]	[Information]	ProgressDelegate registered	0ms	38394931-e557-4933-a24f-d65d6815b0f4
vstest.console.exe Information: 0 : 2020-08-01 18:41:07.3556	[ProvisioningTemplate WebHook Call]	[12]	[Debug]	Code execution scope started	0ms	38394931-e557-4933-a24f-d65d6815b0f4
vstest.console.exe Information: 0 : 2020-08-01 18:41:07.3556	[ProvisioningTemplate WebHook Call]	[12]	[Debug]	Code execution scope ended	0ms	38394931-e557-4933-a24f-d65d6815b0f4
vstest.console.exe Information: 0 : 2020-08-01 18:41:07.3556	[ProvisioningTemplate WebHook Call]	[12]	[Debug]	Code execution scope started	0ms	38394931-e557-4933-a24f-d65d6815b0f4
vstest.console.exe Information: 0 : 2020-08-01 18:41:07.3556	[ProvisioningTemplate WebHook Call]	[12]	[Debug]	Code execution scope ended	0ms	38394931-e557-4933-a24f-d65d6815b0f4
vstest.console.exe Information: 0 : 2020-08-01 18:41:07.3556	[Web Settings]	[12]	[Debug]	Code execution scope started	0ms	38394931-e557-4933-a24f-d65d6815b0f4
vstest.console.exe Information: 0 : 2020-08-01 18:41:07.4649	[Web Settings]	[12]	[Debug]	Code execution scope ended	107ms	38394931-e557-4933-a24f-d65d6815b0f4
vstest.console.exe Information: 0 : 2020-08-01 18:41:07.4649	[ProvisioningTemplate WebHook Call]	[12]	[Debug]	Code execution scope started	0ms	38394931-e557-4933-a24f-d65d6815b0f4
vstest.console.exe Information: 0 : 2020-08-01 18:41:07.4649	[ProvisioningTemplate WebHook Call]	[12]	[Debug]	Code execution scope ended	0ms	38394931-e557-4933-a24f-d65d6815b0f4
vstest.console.exe Information: 0 : 2020-08-01 18:41:07.4649	[Provisioning]	[12]	[Debug]	Code execution scope ended	145ms	38394931-e557-4933-a24f-d65d6815b0f4