Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.Providers.XMLProvidersTests.XMLSerializer_SerializeDeserialize_201705
Outcome:
Run at:
10/10/2017 7:25:59 PM
Duration:
00:00:00
Error message:
Test method OfficeDevPnP.Core.Tests.Framework.Providers.XMLProvidersTests.XMLSerializer_SerializeDeserialize_201705 threw exception: System.ApplicationException: The provided template is not valid!
Stacktrace:
at at OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.XmlPnPSchemaBaseSerializer`1.ProcessInputStream(Stream template, String identifier, ProvisioningTemplate result) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\Providers\Xml\XmlPnPSchemaBaseSerializer.cs:line 87 at OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.XmlPnPSchemaBaseSerializer`1.ToProvisioningTemplate(Stream template, String identifier) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\Providers\Xml\XmlPnPSchemaBaseSerializer.cs:line 234 at OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.XMLTemplateProvider.GetTemplate(String uri, String identifier, ITemplateFormatter formatter, ITemplateProviderExtension[] extensions) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\Providers\Xml\XMLTemplateProvider.cs:line 127 at OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.XMLTemplateProvider.GetTemplate(String uri, String identifier, ITemplateFormatter formatter) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\Providers\Xml\XMLTemplateProvider.cs:line 96 at OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.XMLTemplateProvider.GetTemplate(String uri, ITemplateFormatter formatter) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\Providers\Xml\XMLTemplateProvider.cs:line 91 at OfficeDevPnP.Core.Tests.Framework.Providers.XMLProvidersTests.XMLSerializer_SerializeDeserialize_201705() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\Providers\XMLProvidersTests.cs:line 589
Console output:
    

Debug Trace:
te.processhost.managed.exe Information: 0 : 2017-10-10 19:25:59.2588	[OfficeDevPnP.Core]	[0]	[Information]	File ProvisioningSchema-2017-05-FullSample-01.xml retrieved from folder Templates	0ms	
te.processhost.managed.exe Information: 0 : 2017-10-10 19:25:59.4307	[OfficeDevPnP.Core]	[0]	[Information]	File ProvisioningSchema-2017-05-FullSample-01-OUT.xml saved to folder Templates	0ms	
te.processhost.managed.exe Information: 0 : 2017-10-10 19:25:59.4307	[OfficeDevPnP.Core]	[0]	[Information]	File ProvisioningSchema-2017-05-FullSample-01-OUT.xml retrieved from folder Templates	0ms	
te.processhost.managed.exe Error: 0 : 2017-10-10 19:25:59.4463	[SchemaFormatter]	[0]	[Error]	Template is not valid: The element 'WebPart' in namespace 'http://schemas.dev.office.com/PnP/2017/05/ProvisioningSchema' has incomplete content. List of possible elements expected: 'Contents' in namespace 'http://schemas.dev.office.com/PnP/2017/05/ProvisioningSchema'.	0ms