Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.Functional.WebSettingsNoScriptTests.WebWebSettingsTest
Outcome:
Run at:
7/30/2020 10:43:27 PM
Duration:
00:00:02
Error message:
Test method OfficeDevPnP.Core.Tests.Framework.Functional.WebSettingsNoScriptTests.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.WebSettingsNoScriptTests.WebWebSettingsTest() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\Functional\WebSettingsNoScriptTests.cs:line 77
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 = 1e416b9f-5047-2000-62b5-7943d19d64f4
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:43:27.0043	[OfficeDevPnP.Core]	[0]	[Information]	File websettings_files.xml retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2020-07-30 22:43:27.1303	[Provisioning]	[26]	[Debug]	Code execution scope started	0ms	2a342170-eb81-4877-94fc-f42f8d64740d
vstest.console.exe Information: 0 : 2020-07-30 22:43:27.1303	[Provisioning]	[26]	[Information]	ProgressDelegate registered	0ms	2a342170-eb81-4877-94fc-f42f8d64740d
vstest.console.exe Information: 0 : 2020-07-30 22:43:27.2559	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope started	0ms	2a342170-eb81-4877-94fc-f42f8d64740d
vstest.console.exe Information: 0 : 2020-07-30 22:43:27.2559	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope ended	0ms	2a342170-eb81-4877-94fc-f42f8d64740d
vstest.console.exe Information: 0 : 2020-07-30 22:43:27.2559	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope started	0ms	2a342170-eb81-4877-94fc-f42f8d64740d
vstest.console.exe Information: 0 : 2020-07-30 22:43:27.2559	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope ended	0ms	2a342170-eb81-4877-94fc-f42f8d64740d
vstest.console.exe Information: 0 : 2020-07-30 22:43:27.2559	[Files]	[26]	[Debug]	Code execution scope started	0ms	2a342170-eb81-4877-94fc-f42f8d64740d
vstest.console.exe Information: 0 : 2020-07-30 22:43:27.5059	[Files]	[26]	[Debug]	Uploading and overwriting existing file garagelogo.png	249ms	2a342170-eb81-4877-94fc-f42f8d64740d
vstest.console.exe Information: 0 : 2020-07-30 22:43:27.5840	[OfficeDevPnP.Core]	[0]	[Information]	File garagelogo.png retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2020-07-30 22:43:27.5840	[OfficeDevPnP.Core]	[0]	[Debug]	Creating file info with Url 'garagelogo.png'	0ms	
vstest.console.exe Information: 0 : 2020-07-30 22:43:28.1316	[Files]	[26]	[Debug]	Uploading and overwriting existing file garage.css	870ms	2a342170-eb81-4877-94fc-f42f8d64740d
vstest.console.exe Information: 0 : 2020-07-30 22:43:28.2098	[OfficeDevPnP.Core]	[0]	[Information]	File garage.css retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2020-07-30 22:43:28.2098	[OfficeDevPnP.Core]	[0]	[Debug]	Creating file info with Url 'garage.css'	0ms	
vstest.console.exe Information: 0 : 2020-07-30 22:43:28.5813	[Files]	[26]	[Debug]	Code execution scope ended	1329ms	2a342170-eb81-4877-94fc-f42f8d64740d
vstest.console.exe Information: 0 : 2020-07-30 22:43:28.5813	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope started	0ms	2a342170-eb81-4877-94fc-f42f8d64740d
vstest.console.exe Information: 0 : 2020-07-30 22:43:28.5813	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope ended	0ms	2a342170-eb81-4877-94fc-f42f8d64740d
vstest.console.exe Information: 0 : 2020-07-30 22:43:28.6438	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope started	0ms	2a342170-eb81-4877-94fc-f42f8d64740d
vstest.console.exe Information: 0 : 2020-07-30 22:43:28.6438	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope ended	0ms	2a342170-eb81-4877-94fc-f42f8d64740d
vstest.console.exe Information: 0 : 2020-07-30 22:43:28.6438	[Provisioning]	[26]	[Debug]	Code execution scope ended	1510ms	2a342170-eb81-4877-94fc-f42f8d64740d
vstest.console.exe Information: 0 : 2020-07-30 22:43:28.8625	[Extraction]	[26]	[Debug]	Code execution scope started	0ms	debeeb53-95cc-4283-9099-0bc1423db001
vstest.console.exe Information: 0 : 2020-07-30 22:43:28.8625	[Extraction]	[26]	[Debug]	Base template available: STS0template	0ms	debeeb53-95cc-4283-9099-0bc1423db001
vstest.console.exe Information: 0 : 2020-07-30 22:43:28.8625	[Extraction]	[26]	[Debug]	ProgressDelegate registered	0ms	debeeb53-95cc-4283-9099-0bc1423db001
vstest.console.exe Information: 0 : 2020-07-30 22:43:28.8625	[Retrieve Template Info]	[26]	[Debug]	Code execution scope started	0ms	debeeb53-95cc-4283-9099-0bc1423db001
vstest.console.exe Information: 0 : 2020-07-30 22:43:29.0899	[Retrieve Template Info]	[26]	[Debug]	Code execution scope ended	214ms	debeeb53-95cc-4283-9099-0bc1423db001
vstest.console.exe Information: 0 : 2020-07-30 22:43:29.0899	[Extraction]	[26]	[Debug]	Code execution scope ended	216ms	debeeb53-95cc-4283-9099-0bc1423db001
vstest.console.exe Information: 0 : 2020-07-30 22:43:29.1056	[OfficeDevPnP.Core]	[0]	[Information]	File websettings_add.xml retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2020-07-30 22:43:29.2306	[Provisioning]	[26]	[Debug]	Code execution scope started	0ms	83f45898-14de-4ac6-a066-1f70a19f13b7
vstest.console.exe Information: 0 : 2020-07-30 22:43:29.2306	[Provisioning]	[26]	[Information]	ProgressDelegate registered	0ms	83f45898-14de-4ac6-a066-1f70a19f13b7
vstest.console.exe Information: 0 : 2020-07-30 22:43:29.3556	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope started	0ms	83f45898-14de-4ac6-a066-1f70a19f13b7
vstest.console.exe Information: 0 : 2020-07-30 22:43:29.3556	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope ended	0ms	83f45898-14de-4ac6-a066-1f70a19f13b7
vstest.console.exe Information: 0 : 2020-07-30 22:43:29.3556	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope started	0ms	83f45898-14de-4ac6-a066-1f70a19f13b7
vstest.console.exe Information: 0 : 2020-07-30 22:43:29.3556	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope ended	0ms	83f45898-14de-4ac6-a066-1f70a19f13b7
vstest.console.exe Information: 0 : 2020-07-30 22:43:29.3556	[Web Settings]	[26]	[Debug]	Code execution scope started	0ms	83f45898-14de-4ac6-a066-1f70a19f13b7
vstest.console.exe Warning: 0 : 2020-07-30 22:43:29.5587	[Web Settings]	[26]	[Information]	Skipping NoCrawl update because the site is configured for noscript.	215ms	83f45898-14de-4ac6-a066-1f70a19f13b7
vstest.console.exe Warning: 0 : 2020-07-30 22:43:29.6681	[Web Settings]	[26]	[Information]	Skipping master page update because the site is configured for noscript.	317ms	83f45898-14de-4ac6-a066-1f70a19f13b7
vstest.console.exe Warning: 0 : 2020-07-30 22:43:29.6681	[Web Settings]	[26]	[Information]	Skipping custom master page update because the site is configured for noscript.	317ms	83f45898-14de-4ac6-a066-1f70a19f13b7
vstest.console.exe Information: 0 : 2020-07-30 22:43:29.6681	[Web Settings]	[26]	[Debug]	Code execution scope ended	318ms	83f45898-14de-4ac6-a066-1f70a19f13b7
vstest.console.exe Information: 0 : 2020-07-30 22:43:29.6681	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope started	0ms	83f45898-14de-4ac6-a066-1f70a19f13b7
vstest.console.exe Information: 0 : 2020-07-30 22:43:29.6681	[ProvisioningTemplate WebHook Call]	[26]	[Debug]	Code execution scope ended	0ms	83f45898-14de-4ac6-a066-1f70a19f13b7
vstest.console.exe Information: 0 : 2020-07-30 22:43:29.6681	[Provisioning]	[26]	[Debug]	Code execution scope ended	440ms	83f45898-14de-4ac6-a066-1f70a19f13b7