Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.Functional.WebSettingsTests.WebWebSettingsTest
Outcome:
Run at:
7/30/2020 10:45:24 PM
Duration:
00:00:03
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 = 3b416b9f-702a-2000-4281-15df3797bc92
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-07-30 22:45:24.9410	[OfficeDevPnP.Core]	[0]	[Information]	File websettings_files.xml retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2020-07-30 22:45:25.0817	[Provisioning]	[26]	[Debug]	Code execution scope started	0ms	0f1ab218-bc11-4226-86fa-af15cd9e540e
vstest.console.exe Information: 0 : 2020-07-30 22:45:25.0817	[Provisioning]	[26]	[Information]	ProgressDelegate registered	0ms	0f1ab218-bc11-4226-86fa-af15cd9e540e
vstest.console.exe Information: 0 : 2020-07-30 22:45:25.2067	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope started	0ms	0f1ab218-bc11-4226-86fa-af15cd9e540e
vstest.console.exe Information: 0 : 2020-07-30 22:45:25.2067	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope ended	0ms	0f1ab218-bc11-4226-86fa-af15cd9e540e
vstest.console.exe Information: 0 : 2020-07-30 22:45:25.2067	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope started	0ms	0f1ab218-bc11-4226-86fa-af15cd9e540e
vstest.console.exe Information: 0 : 2020-07-30 22:45:25.2067	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope ended	0ms	0f1ab218-bc11-4226-86fa-af15cd9e540e
vstest.console.exe Information: 0 : 2020-07-30 22:45:25.2067	[Files]	[26]	[Debug]	Code execution scope started	0ms	0f1ab218-bc11-4226-86fa-af15cd9e540e
vstest.console.exe Information: 0 : 2020-07-30 22:45:25.4410	[Files]	[26]	[Debug]	Uploading and overwriting existing file garagelogo.png	243ms	0f1ab218-bc11-4226-86fa-af15cd9e540e
vstest.console.exe Information: 0 : 2020-07-30 22:45:25.5192	[OfficeDevPnP.Core]	[0]	[Information]	File garagelogo.png retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2020-07-30 22:45:25.5192	[OfficeDevPnP.Core]	[0]	[Debug]	Creating file info with Url 'garagelogo.png'	0ms	
vstest.console.exe Information: 0 : 2020-07-30 22:45:26.0588	[Files]	[26]	[Debug]	Uploading and overwriting existing file garage.css	858ms	0f1ab218-bc11-4226-86fa-af15cd9e540e
vstest.console.exe Information: 0 : 2020-07-30 22:45:26.1369	[OfficeDevPnP.Core]	[0]	[Information]	File garage.css retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2020-07-30 22:45:26.1369	[OfficeDevPnP.Core]	[0]	[Debug]	Creating file info with Url 'garage.css'	0ms	
vstest.console.exe Information: 0 : 2020-07-30 22:45:26.5563	[Files]	[26]	[Debug]	Code execution scope ended	1345ms	0f1ab218-bc11-4226-86fa-af15cd9e540e
vstest.console.exe Information: 0 : 2020-07-30 22:45:26.5563	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope started	0ms	0f1ab218-bc11-4226-86fa-af15cd9e540e
vstest.console.exe Information: 0 : 2020-07-30 22:45:26.5563	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope ended	0ms	0f1ab218-bc11-4226-86fa-af15cd9e540e
vstest.console.exe Information: 0 : 2020-07-30 22:45:26.5563	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope started	0ms	0f1ab218-bc11-4226-86fa-af15cd9e540e
vstest.console.exe Information: 0 : 2020-07-30 22:45:26.5563	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope ended	0ms	0f1ab218-bc11-4226-86fa-af15cd9e540e
vstest.console.exe Information: 0 : 2020-07-30 22:45:26.5563	[Persist Template Info]	[26]	[Debug]	Code execution scope started	0ms	0f1ab218-bc11-4226-86fa-af15cd9e540e
vstest.console.exe Information: 0 : 2020-07-30 22:45:26.9001	[Persist Template Info]	[26]	[Debug]	Code execution scope ended	346ms	0f1ab218-bc11-4226-86fa-af15cd9e540e
vstest.console.exe Information: 0 : 2020-07-30 22:45:26.9001	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope started	0ms	0f1ab218-bc11-4226-86fa-af15cd9e540e
vstest.console.exe Information: 0 : 2020-07-30 22:45:26.9001	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope ended	0ms	0f1ab218-bc11-4226-86fa-af15cd9e540e
vstest.console.exe Information: 0 : 2020-07-30 22:45:26.9469	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope started	0ms	0f1ab218-bc11-4226-86fa-af15cd9e540e
vstest.console.exe Information: 0 : 2020-07-30 22:45:26.9469	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope ended	0ms	0f1ab218-bc11-4226-86fa-af15cd9e540e
vstest.console.exe Information: 0 : 2020-07-30 22:45:26.9469	[Provisioning]	[26]	[Debug]	Code execution scope ended	1876ms	0f1ab218-bc11-4226-86fa-af15cd9e540e
vstest.console.exe Information: 0 : 2020-07-30 22:45:27.1813	[Extraction]	[26]	[Debug]	Code execution scope started	0ms	65ed3523-fb9d-48e9-ba07-b83b56b4e0e3
vstest.console.exe Information: 0 : 2020-07-30 22:45:27.1813	[Extraction]	[26]	[Debug]	Base template available: STS0template	0ms	65ed3523-fb9d-48e9-ba07-b83b56b4e0e3
vstest.console.exe Information: 0 : 2020-07-30 22:45:27.1813	[Extraction]	[26]	[Debug]	ProgressDelegate registered	0ms	65ed3523-fb9d-48e9-ba07-b83b56b4e0e3
vstest.console.exe Information: 0 : 2020-07-30 22:45:27.1813	[Retrieve Template Info]	[26]	[Debug]	Code execution scope started	0ms	65ed3523-fb9d-48e9-ba07-b83b56b4e0e3
vstest.console.exe Information: 0 : 2020-07-30 22:45:27.4156	[Retrieve Template Info]	[26]	[Debug]	Code execution scope ended	221ms	65ed3523-fb9d-48e9-ba07-b83b56b4e0e3
vstest.console.exe Information: 0 : 2020-07-30 22:45:27.4156	[Extraction]	[26]	[Debug]	Code execution scope ended	223ms	65ed3523-fb9d-48e9-ba07-b83b56b4e0e3
vstest.console.exe Information: 0 : 2020-07-30 22:45:27.4330	[OfficeDevPnP.Core]	[0]	[Information]	File websettings_add.xml retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2020-07-30 22:45:27.5647	[Provisioning]	[26]	[Debug]	Code execution scope started	0ms	d707e554-687d-45d0-8b33-4f3b4c08ed38
vstest.console.exe Information: 0 : 2020-07-30 22:45:27.5647	[Provisioning]	[26]	[Information]	ProgressDelegate registered	0ms	d707e554-687d-45d0-8b33-4f3b4c08ed38
vstest.console.exe Information: 0 : 2020-07-30 22:45:27.6841	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope started	0ms	d707e554-687d-45d0-8b33-4f3b4c08ed38
vstest.console.exe Information: 0 : 2020-07-30 22:45:27.6841	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope ended	0ms	d707e554-687d-45d0-8b33-4f3b4c08ed38
vstest.console.exe Information: 0 : 2020-07-30 22:45:27.6841	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope started	0ms	d707e554-687d-45d0-8b33-4f3b4c08ed38
vstest.console.exe Information: 0 : 2020-07-30 22:45:27.6841	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope ended	0ms	d707e554-687d-45d0-8b33-4f3b4c08ed38
vstest.console.exe Information: 0 : 2020-07-30 22:45:27.6841	[Web Settings]	[26]	[Debug]	Code execution scope started	0ms	d707e554-687d-45d0-8b33-4f3b4c08ed38
vstest.console.exe Information: 0 : 2020-07-30 22:45:28.0122	[Web Settings]	[26]	[Debug]	Code execution scope ended	319ms	d707e554-687d-45d0-8b33-4f3b4c08ed38
vstest.console.exe Information: 0 : 2020-07-30 22:45:28.0122	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope started	0ms	d707e554-687d-45d0-8b33-4f3b4c08ed38
vstest.console.exe Information: 0 : 2020-07-30 22:45:28.0122	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope ended	0ms	d707e554-687d-45d0-8b33-4f3b4c08ed38
vstest.console.exe Information: 0 : 2020-07-30 22:45:28.0122	[Provisioning]	[26]	[Debug]	Code execution scope ended	451ms	d707e554-687d-45d0-8b33-4f3b4c08ed38